varkey98 commented on PR #355:
URL:
https://github.com/apache/flink-connector-kafka/pull/355#issuecomment-7152467884
@MartijnVisser Thank you so much for this review, I've updated the code and
the commit and their messages, please take a look now.
The only @PublicEvolving change is a new default void close() throws
Exception {} on KafkaRecordSerializationSchema. It is source- and
binary-compatible: existing implementations compile and run unchanged, the
interface still has a single abstract method (serialize) so lambdas and method
references still work, and japicmp against 1.17.0 passes. The one visible
behaviour change is that an implementation that already declares its own
close() (for example because it also implements AutoCloseable) will now be
called when the writer closes, including after a failed open. That's the
intended effect, and it's now documented in the Javadoc and the DataStream docs
(English and Chinese). I don't think this needs a FLIP, since it adds no new
source or sink and changes no connector-wide semantics.
--
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]