Expand description
KIP-853 voter set value types. A voter is (id, directory-id, endpoints, kraft.version range).
This is a pure value-type leaf crate, with no IO, no async, and no crypto,
so it compiles for wasm32-unknown-unknown. krabka-metadata re-exports it
as its voters module. The deterministic consensus core,
krabka-kraft-core, embeds a VoterSet in its quorum state.
Structs§
- KRaft
Version Range - Supported kraft.version range for a voter. The range is inclusive.
- NodeId
- A broker or controller node id: the canonical
krabka_ids::NodeIdnewtype, which is au64internally and Kafka’sint32on the wire. - Voter
- One voter’s full identity.
- Voter
Endpoint - A single listener endpoint advertised by a voter.
- Voter
Set - The authoritative voter set, ordered by node id.