GitHub user dguy opened a pull request:

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

    KAFKA-4534: StreamPartitionAssignor only ever updates the 
partitionsByHostState and metadataWithInternalTopics on first assignment.

    `partitionsByHostState` and `metadataWithInternalTopics` need to be updated 
on each call to `onAssignment()` otherwise they contain invalid/stale metadata. 

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

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

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

    https://github.com/apache/kafka/pull/2253.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 #2253
    
----
commit 45833be3ca1b6f8ac86f516cae4ff1b6571089e8
Author: Damian Guy <damian....@gmail.com>
Date:   2016-12-13T18:06:38Z

    state store name to topic mapping incorrect

commit 29dcc18324b1a888641d6f51635a925bfbd4b074
Author: Damian Guy <damian....@gmail.com>
Date:   2016-12-13T20:21:09Z

    address comments

commit 4f1c58aedbbcaad91ef5f8ff504eef74157d54e5
Author: Damian Guy <damian....@gmail.com>
Date:   2016-12-14T10:37:48Z

    update partitionHostState and metadata onAssignment

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to