You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2018/06/18 18:39:00 UTC

[jira] [Resolved] (KAFKA-4870) A question about broker down , the server is doing partition master election,the client producer may send msg fail . How the producer deal with the situation ??

     [ https://issues.apache.org/jira/browse/KAFKA-4870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manikumar resolved KAFKA-4870.
------------------------------
    Resolution: Information Provided

If the produce request fails, the producer automatically retry based on retries config for any retry exceptions. Also Producer updates the metadata for any exceptions or if any partitions does not have leader etc..

Post these kind of queries to [users@kafka.apache.org|mailto:users@kafka.apache.org] mailing list ([http://kafka.apache.org/contact]) for  quicker responses.

> A question about broker down , the server is doing partition master election,the client producer may send msg fail . How the producer deal with the situation ??
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4870
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4870
>             Project: Kafka
>          Issue Type: Test
>          Components: clients
>         Environment: java client 
>            Reporter: zhaoziyan
>            Priority: Minor
>
> the broker down . The kafka cluster is doing partion  master election , the producer send order msg or nomal msg ,the producer may send msg fail .How client update metadata and deal with the msg send fail ?? 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)