@Bean
    public RedisConnectionFactory redisConnectionFactory() throws UnknownHostException {
        return applyProperties(createJedisConnectionFactory());
    }
Configuration for Redis Sink
@author Mark Pollack
extensions/spring-xd-extension-redis/src/main/java/org/springframework/xd/redis/RedisSinkConfiguration.java