snuyanzin commented on code in PR #24805:
URL: https://github.com/apache/flink/pull/24805#discussion_r1636593978


##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/sink/PrintSinkFunction.java:
##########
@@ -33,7 +33,10 @@
  * no {@code sinkIdentifier} provided, parallelism == 1
  *
  * @param <IN> Input record type
+ * @deprecated This interface will be removed in future versions. Use the new 
{@link PrintSink}
+ *     interface instead.

Review Comment:
   ~~I've doubled checked: `PrintSink` implements `Sink` interface which is 
going to be deprecated in this PR~~
   ~~So seems we can't propose to use it.~~
   
   ~~and may be mark `PrintSink` as well deprecated~~
   
   ~~may be just reference to `org.apache.flink.api.connector.sink2.Sink`~~
   
   UPD: my bad, it already uses v2 version



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