kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dguy <...@git.apache.org>
Subject [GitHub] kafka pull request #3181: KAFKA-5154: Consumer fetches from revoked partitio...
Date Wed, 31 May 2017 16:50:15 GMT
GitHub user dguy opened a pull request:

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

    KAFKA-5154: Consumer fetches from revoked partitions when SyncGroup fails with disconnection
[WIP]

    Scenario is as follows:
    1. Consumer subscribes to topic t1 and begins consuming
    2. heartbeat fails as the group is rebalancing
    3. ConsumerCoordinator.onJoinGroupPrepare is called
       3.1 onPartitionsRevoked is called
    4. consumer becomes the group leader
    5. sends sync group request
    6. sync group is cancelled due to disconnection
    7. fetch request is sent for partitions that have previously been revoked

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

    $ git pull https://github.com/dguy/kafka kafka-5154

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

    https://github.com/apache/kafka/pull/3181.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 #3181
    
----
commit f84737d30acdb8b49e8e0d4e3da8720083e88354
Author: Damian Guy <damian.guy@gmail.com>
Date:   2017-05-31T16:40:50Z

    just a test for discussion

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message