You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Apurva Mehta (JIRA)" <ji...@apache.org> on 2017/05/01 17:42:04 UTC
[jira] [Created] (KAFKA-5147) KafkaProducer's TransactionManager
needs a review on synchronization
Apurva Mehta created KAFKA-5147:
-----------------------------------
Summary: KafkaProducer's TransactionManager needs a review on synchronization
Key: KAFKA-5147
URL: https://issues.apache.org/jira/browse/KAFKA-5147
Project: Kafka
Issue Type: Bug
Reporter: Apurva Mehta
Assignee: Apurva Mehta
Currently, the completion handlers are not synchronized, though they access shared state like `partitionsInTransaction`, and `lastError`, `pendingPartitionsToBeaddedToTransaction`, etc.
We should either make the collections concurrent or synchronize the handlers.
In general, we need to review this code to ensure that the synchronization is correct.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)