You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jiangjie Qin (JIRA)" <ji...@apache.org> on 2015/02/08 23:28:34 UTC

[jira] [Created] (KAFKA-1934) Add a shutdownNow() call to new producer

Jiangjie Qin created KAFKA-1934:
-----------------------------------

             Summary: Add a shutdownNow() call to new producer
                 Key: KAFKA-1934
                 URL: https://issues.apache.org/jira/browse/KAFKA-1934
             Project: Kafka
          Issue Type: Bug
            Reporter: Jiangjie Qin
            Assignee: Jiangjie Qin


We have a use case where user want to stop send any more messages if an error occurred on a previous send. Otherwise the message order might be broken. The shutdownNow() call will stop the producer right away without draining the messages in accumulator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)