Class PartitioningCfg

java.lang.Object
io.camunda.zeebe.broker.system.configuration.PartitioningCfg

public final class PartitioningCfg extends Object
The partitioning configuration allow configuring experimental settings related to partitioning.

At the moment, it lets users configure the scheme - that is, how partitions are distributed across the brokers. The default scheme is currently Scheme.ROUND_ROBIN.

When using Scheme.FIXED, a map of brokers to a list of partitions should be specified under fixed. This map takes keys as the broker node IDs, with values as a list of partition IDs. The mapping must be exhaustive, meaning all brokers should appear, and all partitions should be specified with the appropriate replication factor.