@omkreddy Handling the code in *createOrUpdateTopicPartitionAssignmentPathInZK* is little tricky and will lead to serious issues: * Topic Creation - Works fine. * Add Partitions - Fails. Let's say a topic is created with 1 partition(replicas being 0,1) and let's say broker 0 goes down after creation. Now if I have to add partitions, *alterTopic()* internally calls *createOrUpdateTopicPartitionAssignmentPathInZK* and since the existing partition 0 doesn't have all the brokers up, it fails the add partitions functionality. So it's better we handle it outside the *createOrUpdateTopicPartitionAssignmentPathInZK*. * Topic Deletion - Works fine.
[ Full content available at: https://github.com/apache/kafka/pull/5665 ] This message was relayed via gitbox.apache.org for [email protected]
