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:36:51 UTC
[jira] [Updated] (KAFKA-4728) KafkaConsumer#commitSync should clone
its input
[ https://issues.apache.org/jira/browse/KAFKA-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lukavský updated KAFKA-4728:
--------------------------------
Status: Patch Available (was: Open)
Patch available for this issue.
> 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)