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

KafkaConsumer#commitSync should clone its input

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.1
    • 0.11.0.0
    • None
    • None

    Description

      The `commitSync` method should clone input map to prevent live-lock in situation when user code uses synchronization on the map. Cloning the map prevents the consumer of the response to the `commitSync` request to block (this might be different thread than the original issuer of the request).

      Attachments

        1. KAFKA-4728.patch
          0.8 kB
          Jan Lukavský

        Issue Links

          Activity

            People

              Unassigned Unassigned
              janl Jan Lukavský
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: