[ 
https://issues.apache.org/jira/browse/FLINK-31305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705651#comment-17705651
 ] 

Tzu-Li (Gordon) Tai edited comment on FLINK-31305 at 3/28/23 12:22 AM:
-----------------------------------------------------------------------

Merged via
 * {{apache/flink:main}}  7f47c11da1bbbd6e7650d43742694f2fa0ee8a3f
 * {{{}apache/flink:release-1.16{}}}: df6c4345d2e1b321cd77e74aa2b028b482b69f3c
 * {{{}apache/flink:release-1.17{}}}: b8a9fe5a9942fb6cf11ed56a807d68d375339259

Pending merges for {{apache/flink-connector-kafka}} as well as any necessary 
backports.


was (Author: tzulitai):
Merged for {{apache/flink:main}} with 7f47c11da1bbbd6e7650d43742694f2fa0ee8a3f

Pending merges for {{apache/flink-connector-kafka}} as well as any necessary 
backports.

> 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.18.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)

Reply via email to