protected final RedisSentinelConfiguration getSentinelConfig() {
        if (StringUtils.hasText(sentinelNodes)) {
            RedisSentinelConfiguration config = new RedisSentinelConfiguration();
            config.master(sentinelMaster);
            config.setSentinels(createSentinels());
            return config;
        }
        return null;
    }
Configuration for Redis Sink
@author Mark Pollack
extensions/spring-xd-extension-redis/src/main/java/org/springframework/xd/redis/RedisSinkConfiguration.java