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

close() in SimpleConsumer should be synchronized

    XMLWordPrintableJSON

Details

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

    Description

      Similar to KAFKA-12, the close method in SimpleConsumer doesn't hold the lock while closing the channel and setting it to null, potentially creating a race condition if a message is being received.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: