Skip to main content

Module reconfiguration

Module reconfiguration 

Source
Expand description

KRaft voter-reconfiguration admission and result shape.

The decision follows the order in which Kafka’s KafkaRaftClient, AddVoterHandler, RemoveVoterHandler, UpdateVoterHandler, and LeaderState.maybeAppendUpgradedKRaftVersion reject a request, and it admits a change only while KIP-853’s one-change-at-a-time rule holds: the node leads, its epoch is committed, no earlier change is pending, and no control record is uncommitted.

Structs§

CurrentVoterSet
The committed voter set the change applies to.
ReconfigurationLeadership
The receiving node’s leadership state for one reconfiguration.
TargetVoter
Facts about the voter an add, remove, or update names. A finalization names no voter and does not read them.
VoterChangeRequest
One requested control operation.
VoterReconfigurationPlan
The exact control-record shape of an admitted change.

Enums§

TargetMembership
How the request’s voter key relates to the current voter set.
VoterChangeKind
The KIP-853 control operation being validated.
VoterReconfigurationDecision

Functions§

voter_reconfiguration_decision
Admit one fresh KIP-853 operation and construct its exact result shape.

Type Aliases§

ReconfigurationState
The leadership and committed voter-set snapshot captured for one control change.