You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/31 20:20:04 UTC

[jira] [Commented] (KAFKA-5283) Update clients and server code to make sure that epoch and sequence numbers wrap around

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

ASF GitHub Bot commented on KAFKA-5283:
---------------------------------------

GitHub user hachikuji opened a pull request:

    https://github.com/apache/kafka/pull/3183

    KAFKA-5283: Handle producer epoch/sequence overflow by wrapping around

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hachikuji/kafka KAFKA-5283

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3183.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3183
    
----
commit 1b92d3958a50fff256262bcf6c3cf4b5747fb580
Author: Jason Gustafson <ja...@confluent.io>
Date:   2017-05-31T20:16:04Z

    KAFKA-5283: Handle producer epoch/sequence overflow by wrapping around

----


> Update clients and server code to make sure that epoch and sequence numbers wrap around
> ---------------------------------------------------------------------------------------
>
>                 Key: KAFKA-5283
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5283
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: clients, core, producer 
>            Reporter: Apurva Mehta
>            Assignee: Jason Gustafson
>            Priority: Blocker
>              Labels: exactly-once
>             Fix For: 0.11.0.0
>
>
> The design doc mentions that the epoch and sequence numbers will wrap around. However, the current client and server code (on the producer, in the `ProducerIdMapping` class, in the transaction coordinator) does not do this.
> Once all the pieces are in place we should go through and make sure that the handling of sequence numbers and epoch is consistent across the board. Would be good to add a system or integration test for this as well, if possible.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)