Reallocation of sections to brokers in Kafka 0.8

The relatively limited documentation for Kafka 0.8 does not mention the expected behavior to balance existing brokers, topics, and replicas.

In particular, what is the expected behavior upon arrival of the broker and upon the collapse of the broker (leader or not)?

Thank.

+5
source share
1 answer

I tested these 2 cases a while ago and was not under heavy load. I have one producer sending 10k messages (only a small line) synchronously with the topic, with a replication rate of 2, with two sections, in a cluster of 2 brokers. There are 2 consumers. Each component is deployed on a separate machine. I was watching:

  • : broker 1 1 2. broker 2 2 1. 3 .

  • (, ): . , .

  • ( ): kill -9 . , node ZK . .

+1

All Articles