CalvinConfluent commented on code in PR #15657:
URL: https://github.com/apache/kafka/pull/15657#discussion_r1578296803


##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java:
##########
@@ -402,6 +412,30 @@ public synchronized void maybeAddPartition(TopicPartition 
topicPartition) {
         }
     }
 
+    public synchronized void maybeHandlePartitionAdded(TopicPartition 
topicPartition) {

Review Comment:
   Refactored this part, and removed the previous handling.
   This method is called as a part of the produce callback and if there is any 
error in the produceResponse, it will not be called.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to