[ https://issues.apache.org/jira/browse/KAFKA-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15023433#comment-15023433 ]
ASF GitHub Bot commented on KAFKA-2804: --------------------------------------- GitHub user guozhangwang opened a pull request: https://github.com/apache/kafka/pull/579 KAFKA-2804: manage changelog topics through ZK in PartitionAssignor You can merge this pull request into a Git repository by running: $ git pull https://github.com/guozhangwang/kafka K2804 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/579.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 #579 ---- ---- > Create / Update changelog topics upon state store initialization > ---------------------------------------------------------------- > > Key: KAFKA-2804 > URL: https://issues.apache.org/jira/browse/KAFKA-2804 > Project: Kafka > Issue Type: Sub-task > Reporter: Guozhang Wang > Assignee: Guozhang Wang > > When state store instances that are logging-backed are initialized, we need > to check if the corresponding change log topics have been created with the > right number of partitions: > 1) If not exist, create topic > 2) If expected #.partitions < actual #.partitions, delete and re-create topic. > 3) If expected #.partitions > actual #.partitions, add partitions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)