[ 
https://issues.apache.org/jira/browse/KAFKA-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854620#comment-15854620
 ] 

ASF GitHub Bot commented on KAFKA-4728:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/2491


> 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ý
>         Attachments: KAFKA-4728.patch
>
>
> 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)

Reply via email to