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

Viktor Somogyi commented on KAFKA-7736:
---------------------------------------

[~hachikuji] Had a go on refactoring these map usages into a single map. My 
approach was to create a TopicPartition to TopicPartitionEntry map which 
contains the values of the old maps, that way we can treat these data together. 
Please have a look once you have some time.

> Consolidate Map usages in TransactionManager
> --------------------------------------------
>
>                 Key: KAFKA-7736
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7736
>             Project: Kafka
>          Issue Type: Task
>          Components: producer 
>            Reporter: Viktor Somogyi
>            Assignee: Viktor Somogyi
>            Priority: Minor
>              Labels: exactly-once
>
> There are a bunch of Map<TopicPartition, X> collections in TransactionManager 
> which could be consolidated into a single map to consolidate bookkeeping and 
> get rid of potential bugs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to