Skip to main content

Module directory

Module directory 

Source
Expand description

Replica-directory assignment and controller-response decisions.

Enums§

DirectoryAssignmentDecision
Change selected for one reported topic-partition replica.
DirectoryResponseDecision
Classification of an assignment report’s controller response.

Functions§

directory_assignment_decision
Select only the reporting broker’s exact replica slot, and suppress an assignment that is already current.
directory_response_decision
Accept success only while the controller identity that answered remains the current leader. A missing or changed leader makes the response stale.