# Functions
EvaluateAssignments determines whether the given assignments are consistent with the provided placement strategy.
NewBalancedLeaderAssigner creates and returns a BalancedLeaderAssigner instance.
NewCrossRackAssigner creates and returns a CrossRackAssigner instance.
NewSingleRackAssigner creates and returns a SingleRackAssigner instance.
NewStaticSingleRackAssigner returns a new StaticSingleRackAssigner instance.
# Structs
BalancedLeaderAssigner is an Assigner that tries to ensure that the leaders of each partition are balanced across all of the broker racks.
CrossRackAssigner is an assigner that ensures that the replicas of each partition are on different racks than each other.
SingleRackAssigner is an assigner that ensures that the replicas of each partition are in the same rack as the leader.
StaticAssigner is an Assigner that ignores the current state and assigns based on the value of the Assignments field.
StaticSingleRackAssigner is an Assigner that assigns replicas within a static rack per partition.
# Interfaces
Assigner is an interface for structs that figure out how to reassign replicas in existing topic partitions.