davidradl commented on code in PR #26297:
URL: https://github.com/apache/flink/pull/26297#discussion_r2005783270


##########
flink-runtime/src/main/java/org/apache/flink/streaming/api/datastream/DataStream.java:
##########
@@ -864,7 +864,11 @@ protected DataStream<T> 
setConnectionType(StreamPartitioner<T> partitioner) {
      *
      * @param sinkFunction The object containing the sink's invoke function.
      * @return The closed DataStream.
+     * @deprecated This method relies on the {@link SinkFunction} API, which 
is due to be removed.

Review Comment:
   nit: maybe change which is due to be removed. -> which is deprecated.
   The phrase  "due to be removed" is ambiguous, are we saying v2 will have 
this as deprecated. Assume this would then be removed in Flink v3.  



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to