You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by dguy <gi...@git.apache.org> on 2017/05/31 16:50:15 UTC

[GitHub] kafka pull request #3181: KAFKA-5154: Consumer fetches from revoked partitio...

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 <da...@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.
---

[GitHub] kafka pull request #3181: KAFKA-5154: Consumer fetches from revoked partitio...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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.
---