[
https://issues.apache.org/jira/browse/FLINK-31305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703866#comment-17703866
]
Tzu-Li (Gordon) Tai commented on FLINK-31305:
---------------------------------------------
thanks [~mason6345] for the ping! I've actually been discussing your changes
with Raman Verma, who has did a review already on the PR.
I'll also do a pass tomorrow and then will try to merge this by end of this
week.
> KafkaWriter doesn't wait for errors for in-flight records before completing
> flush
> ---------------------------------------------------------------------------------
>
> Key: FLINK-31305
> URL: https://issues.apache.org/jira/browse/FLINK-31305
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Affects Versions: 1.17.0, 1.16.1
> Reporter: Mason Chen
> Assignee: Mason Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.17.0
>
>
> The KafkaWriter flushing needs to wait for all in-flight records to send
> successfully. This can be achieved by tracking requests and returning a
> response from the registered callback from the producer#send() logic.
> There is potential for data loss since the checkpoint does not accurately
> reflect that all records have been sent successfully, to preserve at least
> once semantics.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)