You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Apurva Mehta (JIRA)" <ji...@apache.org> on 2017/07/17 19:54:00 UTC

[jira] [Created] (KAFKA-5604) All producer methods should raise `ProducerFencedException` after the first time.

Apurva Mehta created KAFKA-5604:
-----------------------------------

             Summary: All producer methods should raise `ProducerFencedException` after the first time.
                 Key: KAFKA-5604
                 URL: https://issues.apache.org/jira/browse/KAFKA-5604
             Project: Kafka
          Issue Type: Bug
            Reporter: Apurva Mehta
            Assignee: Apurva Mehta


Currently, when a `ProducerFencedException` is raised from a transactional producer, the expectation is that the application should call `close` immediately. However, if the application calls other producer methods, they would get a `KafkaException`. This is a bit confusing, and results in tickets like : https://issues.apache.org/jira/browse/KAFKA-5603. 

We should update the producer so that calls to any method other than `close` should raise a `ProducerFencedException` after the first time it is raised.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)