[ 
https://issues.apache.org/jira/browse/KAFKA-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias J. Sax updated KAFKA-5270:
-----------------------------------
    Fix Version/s:     (was: 2.2.0)

> TransactionManager should send and `AddOffsetsToTxn` request only once per 
> group per transaction
> ------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-5270
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5270
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: clients, core, producer 
>            Reporter: Apurva Mehta
>            Priority: Major
>              Labels: exactly-once
>
> Currently, we send the `AddOffsetsToTxn` request unconditionally every time, 
> even if we receive multiple sendOffsets for the same group. We could keep 
> track of the added groups in the TransactionManager and not resend this RPC 
> multiple times for the same transaction as the subsequent instances add no 
> new information.



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

Reply via email to