mas-chen commented on code in PR #22303:
URL: https://github.com/apache/flink/pull/22303#discussion_r1152593857


##########
flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/KafkaWriter.java:
##########
@@ -447,15 +448,14 @@ public void onCompletion(RecordMetadata metadata, 
Exception exception) {
                 // complete. The same guarantee does not hold for tasks 
executed in separate
                 // executor e.g. mailbox executor. flush() needs to have the 
exception immediately
                 // available to fail the checkpoint.
-                if (asyncProducerException != null) {

Review Comment:
   Main bug



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