varkey98 commented on code in PR #355:
URL: 
https://github.com/apache/flink-connector-kafka/pull/355#discussion_r4773638288


##########
flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/KafkaRecordSerializationSchema.java:
##########
@@ -53,6 +53,13 @@ default void open(
             SerializationSchema.InitializationContext context, 
KafkaSinkContext sinkContext)
             throws Exception {}
 
+    /**
+     * Closes this schema and releases any resources acquired in {@link 
#open}. It is called when
+     * the writer is closed, which includes a writer whose initialization 
failed, so it may follow a
+     * failed {@link #open}. Calling it on an already closed schema must have 
no effect.

Review Comment:
   Thanks, removed this sentence



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

Reply via email to