gyfora commented on code in PR #24180:
URL: https://github.com/apache/flink/pull/24180#discussion_r1465933942
##########
flink-connectors/flink-connector-base/src/test/java/org/apache/flink/connector/base/sink/ArrayListAsyncSink.java:
##########
@@ -56,6 +58,16 @@ public ArrayListAsyncSink(
maxRecordSizeInBytes);
}
+ @Override
+ public SinkWriter<String> createWriter(WriterInitContext context) throws
IOException {
+ return createWriter(new InitContextWrapper(context));
+ }
+
+ /**
+ * Should be removed along {@link
+ * org.apache.flink.api.connector.sink2.StatefulSink.StatefulSinkWriter}.
+ */
+ @Deprecated
Review Comment:
This is a test sink, should we simply replace the implementation?
--
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]