AHeise commented on a change in pull request #11725: [FLINK-15670][API] Provide 
a Kafka Source/Sink pair as KafkaShuffle
URL: https://github.com/apache/flink/pull/11725#discussion_r410311086
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/DataStream.java
 ##########
 @@ -1333,6 +1334,32 @@ public ExecutionConfig getExecutionConfig() {
                return sink;
        }
 
+       /**
+        * Adds a {@link StreamShuffleSink} to this DataStream. {@link 
StreamShuffleSink} is attached with
+        * {@link SinkFunction} that can manipulate watermarks.
+        *
+        * @param sinkFunction
+        *                      The object containing the sink's invoke 
function for both the element and watermark.
+        * @return      The closed DataStream.
+        */
+       public DataStreamSink<T> addSinkShuffle(SinkFunction<T> sinkFunction) {
 
 Review comment:
   Not necessary, see comment on `StreamShuffleSink`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to