[ https://issues.apache.org/jira/browse/FLINK-5683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-5683: ---------------------------------- Labels: auto-deprioritized-major redis (was: redis stale-major) > Fix RedisConnector documentation (Java) > --------------------------------------- > > Key: FLINK-5683 > URL: https://issues.apache.org/jira/browse/FLINK-5683 > Project: Flink > Issue Type: Improvement > Components: Connectors / Common, Documentation > Affects Versions: 1.1.3, 1.1.4 > Reporter: Vikram Rawat > Priority: Major > Labels: auto-deprioritized-major, redis > > The RedisConnector documentation for Java can be improved. > https://ci.apache.org/projects/flink/flink-docs-release-1.1/apis/streaming/connectors/redis.html > > The code snippet on the site is: > DataStream<String> stream = ...; > stream.addSink(new RedisSink<Tuple2<String, String>>(conf, new > RedisExampleMapper()); > This gives compile time error in IDE. It should be changed to: > DataStream<Tuple2<String, String>> stream = ...; > stream.addSink(new RedisSink<Tuple2<String, String>>(conf, new > RedisExampleMapper()); > The code snippets on the Project WebSite must be accurate so I recommend this > change. And it will only take a few minutes. -- This message was sent by Atlassian Jira (v8.3.4#803005)