state: ControllerState
ControllerEvent
ControllerEvent is the contract of the events in the lifecycle of KafkaController (state machine) that trigger state change.
ControllerEvent events are managed by ControllerEventManager.
| Method | Description |
|---|---|
|
Requested ControllerState of the ControllerEventManager (while processing a controller event) |
| ControllerEvent | ControllerState | Description |
|---|---|---|
BrokerModifications |
||
ControlledShutdown |
||
ControllerChange |
||
Expire |
||
IsrChangeNotification |
Emitted when the ZNodeChildChangeHandler has been notified about the znode child change |
|
LogDirEventNotification |
||
PartitionModifications |
Emitted when one of the ZNodeChangeHandler has been notified about the znode change |
|
PartitionReassignment |
||
PartitionReassignmentIsrChange |
||
RegisterBrokerAndReelect |
||
ShutdownEventThread |
||
TopicChange |
||
TopicDeletionStopReplicaResponseReceived |
||
TopicUncleanLeaderElectionEnable |
||
UncleanLeaderElectionEnable |
Emitted when |
|
Note
|
ControllerEvent is a Scala sealed trait and so all the possible controller events are in a single compilation unit (i.e. a file).
|