Skip to main content

Crate krabka_voters

Crate krabka_voters 

Source
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§

KRaftVersionRange
Supported kraft.version range for a voter. The range is inclusive.
NodeId
A broker or controller node id: the canonical krabka_ids::NodeId newtype, which is a u64 internally and Kafka’s int32 on the wire.
Voter
One voter’s full identity.
VoterEndpoint
A single listener endpoint advertised by a voter.
VoterSet
The authoritative voter set, ordered by node id.