You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2019/02/17 19:08:00 UTC

[jira] [Commented] (KAFKA-5270) TransactionManager should send and `AddOffsetsToTxn` request only once per group per transaction

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

Matthias J. Sax commented on KAFKA-5270:
----------------------------------------

Moving all major/minor/trivial tickets that are not merged yet out of 2.2 release.

> 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
>             Fix For: 2.2.0
>
>
> 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)