pvary commented on code in PR #24180:
URL: https://github.com/apache/flink/pull/24180#discussion_r1465962747
##########
flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/sink/FileSink.java:
##########
@@ -141,13 +145,18 @@ private FileSink(BucketsBuilder<IN, ? extends
BucketsBuilder<IN, ?>> bucketsBuil
}
@Override
- public FileWriter<IN> createWriter(InitContext context) throws IOException
{
+ public SinkWriter<IN> createWriter(InitContext context) throws IOException
{
+ throw new UnsupportedOperationException("Not supported");
+ }
Review Comment:
This one is needed until we remove the method the deprecated method from the
`Sink` interface.
We needed to keep this for backward compatibility, so if someone used the
`Sink` as a functional interface then their code should keep working.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]