Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1934

Add a shutdownNow() call to new producer

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              becket_qin Jiangjie Qin
              becket_qin Jiangjie Qin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: