[ https://issues.apache.org/jira/browse/KAFKA-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903598#comment-13903598 ]
Jay Kreps commented on KAFKA-1268: ---------------------------------- Actually ended up combining this with retries, so just review KAFKA-1252. > Force metadata update on error > ------------------------------ > > Key: KAFKA-1268 > URL: https://issues.apache.org/jira/browse/KAFKA-1268 > Project: Kafka > Issue Type: Sub-task > Components: producer > Reporter: Jay Kreps > Attachments: KAFKA-1268.patch > > > The new producer should mimic the behavior of the scala producer and force a > metadata refresh if it gets an error that indicates the possibility of out of > date metadata. Specifically if there is a disconnection, or a leader election > in progress when a produce is attempted. -- This message was sent by Atlassian JIRA (v6.1.5#6160)