Skip to content

KafkaRaftClient

KafkaRaftClient is a RaftClient.

Creating Instance

KafkaRaftClient takes the following to be created:

KafkaRaftClient is created when:

QuorumStateStore

KafkaRaftClient is given a QuorumStateStore when created.

The QuorumStateStore is a FileBasedStateStore with the quorum-state state file in the dataDir.

poll

void poll()

poll...FIXME


poll is used when:

  • RaftIoThread is requested to doWork

pollListeners

void pollListeners()

pollListeners...FIXME

processRegistration

void processRegistration(
  Registration<T> registration)

processRegistration...FIXME