You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Boyang Chen (Jira)" <ji...@apache.org> on 2020/04/13 15:59:00 UTC

[jira] [Created] (KAFKA-9860) Transactional Producer could add partitions by batch at the end

Boyang Chen created KAFKA-9860:
----------------------------------

             Summary: Transactional Producer could add partitions by batch at the end
                 Key: KAFKA-9860
                 URL: https://issues.apache.org/jira/browse/KAFKA-9860
             Project: Kafka
          Issue Type: Improvement
            Reporter: Boyang Chen
            Assignee: Boyang Chen


As of today, the Producer transaction manager bookkeeps the partitions involved with current transaction. Each time it sees a new partition, it will try to send a request to add all the involved partitions to the broker, which results in multiple requests. If we could batch the work by the end of the transaction, we save unnecessary round trips.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)