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

AsyncProducer shutdown logic causes data loss

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.7
    • None
    • None

    Description

      The current shutdown logic of the AsyncProducer allows adding events to the queue, after adding the shutdown command to it. The ProducerSendThread drains all the data in the queue until it hits the shutdown command. Hence, all data added after the shutdown command is lost.

      Attachments

        1. KAFKA-116.patch
          10 kB
          Neha Narkhede

        Activity

          People

            Unassigned Unassigned
            nehanarkhede Neha Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: