Required parameters on every broker in a Zeebe cluster (single topic). Only nodeId
has to be unique per broker, other values have to be the same.
nodes = 5 (broker processes)
partitions = 6 (unrestricted)
replication = 3 (constraint <= nodes)
nodeId = x (constraint unique between 0 and nodes (exclusive))
With the given config values we can determine which node is responsible for which partition.
Also if the partition does not exist locally the L
(Leader) node will boostrap it.
- nodes 5, partitions 6, replication 3
P|N 0 1 2 3 4
0 L F F
1 L F F
2 L F F
3 F L F
4 F F L
5 L F F
- nodes 3, partitions 6, replication 3
P|N 0 1 2
0 L F F
1 F L F
2 F F L
3 L F F
4 F L F
5 F F L
- nodes 4, partitions 2, replication 3
P|N 0 1 2 3
0 L F F
1 L F F