CMAK icon indicating copy to clipboard operation
CMAK copied to clipboard

brocker.rack is not considered for generating assignments

Open kostyrev opened this issue 7 years ago • 2 comments

I've got a 6 nodes cluster in AWS with broker.rack specified, e.g. broker.rack=us-east-1b. So there are two in us-east-1a, us-east-1b and us-east-1c. The plan generated by "Generate Partition Assignments" do not take that setting into account and assigns two partitions (out of three) to instances in the same AZ (with the same broker.rack setting).
On the other hand kafka-reassign-partitions.sh --zookeeper zoo1-zookeeper.production:2181 --topics-to-move-json-file topics-to-move.json --broker-list "0,1,2,3,4,5" --generate
does consider broker.rack.

kostyrev avatar Mar 21 '18 11:03 kostyrev

I've got a 9 nodes cluster, broker.rack specified. I can't use the kafka manager to do the reblanace operation, only through the command line.

bin/kafka-reassign-partitions.sh --zookeeper kafka_host:19000/kafka11 --topics-to-move-json-file topics-to-move.json --broker-list "193,194,286,527,528,529,843,844,873" --generate

saup007 avatar Sep 07 '18 04:09 saup007

Any Updates on this?

bhataprameya avatar Aug 22 '22 21:08 bhataprameya