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

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

Github user asfgit closed the pull request at:

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


> KafkaProducer's TransactionManager needs a review on synchronization
> --------------------------------------------------------------------
>
>                 Key: KAFKA-5147
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5147
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Apurva Mehta
>            Assignee: Apurva Mehta
>            Priority: Blocker
>              Labels: exactly-once
>             Fix For: 0.11.0.0, 0.11.1.0
>
>
> 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)

Reply via email to