You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "kun du (Jira)" <ji...@apache.org> on 2019/08/27 22:41:00 UTC
[jira] [Commented] (KAFKA-7711) Add a bounded flush() API to Kafka
Producer
[ https://issues.apache.org/jira/browse/KAFKA-7711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917197#comment-16917197 ]
kun du commented on KAFKA-7711:
-------------------------------
Created a KIP for thisĀ [https://cwiki.apache.org/confluence/display/KAFKA/KIP-514%3A+Add+a+bounded+flush%28%29+API+to+Kafka+Producer]
> Add a bounded flush() API to Kafka Producer
> --------------------------------------------
>
> Key: KAFKA-7711
> URL: https://issues.apache.org/jira/browse/KAFKA-7711
> Project: Kafka
> Issue Type: Improvement
> Components: producer
> Reporter: kun du
> Priority: Minor
> Labels: needs-kip
>
> Currently the call to Producer.flush() can be hang there for indeterminate time.
> It is a good idea to add a bounded flush() API and timeout if producer is unable to flush all the batch records in a limited time. In this way the caller of flush() has a chance to decide what to do next instead of just wait forever.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)