You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jan Lukavský (JIRA)" <ji...@apache.org> on 2017/02/03 09:34:51 UTC

[jira] [Created] (KAFKA-4728) KafkaConsumer#commitSync should clone its input

Jan Lukavský created KAFKA-4728:
-----------------------------------

             Summary: KafkaConsumer#commitSync should clone its input 
                 Key: KAFKA-4728
                 URL: https://issues.apache.org/jira/browse/KAFKA-4728
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 0.10.1.1
            Reporter: Jan Lukavský


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).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)