DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
This request can return the following errors:
- an
UNSUPPORTED_VERSIONerror if the cluster's MetadataVersion does not supportUnregisterControllerRecord - a
BROKER_ID_NOT_REGISTEREDerror if no registration exists for the requested controller ID - a
NOT_CONTROLLERerror if the request does not arrive at the active controller
UnregisterControllerResponse
...
| Code Block |
|---|
kafka-cluster unregister-controller --controller-id 99901 |
When the user executes this command to unregister controller 99901:
UnregisterControllerRequestis sent to the active controller- The active controller writes an
UnregisterControllerRecordto the metadata log - When this record is committed, return a response to the user for unregistering the controller
- The active controller's state machine removes the registration for controller 99901, meaning feature upgrades no longer consider node 99901's supported features
- The registration from controller 9990 1 is removed from the metadata image
...
| Code Block |
|---|
kafka-metadata-quorum remove-controller --controller-id 99901 --controller-directory-id EXAMPLE_UUID --unregister |
When the user executes this command, kafka tries to remove 9990 1 as a voter AND unregister it:
RemoveRaftVoterRequestis sent to the active controller- The KRaft leader writes a
VotersRecordwithout voter 9990 1 to the metadata log - When this record is committed, return a response to the user for removing the voter
UnregisterControllerRequestis sent to the active controller if steps 1-3 were successful- If steps 1-3 were not successful, return the error and direct the user to use
kafka-cluster unregister-controllerinstead.
- If steps 1-3 were not successful, return the error and direct the user to use
- The active controller writes an
UnregisterControllerRecordto the metadata log - When this record is committed, return a response to the user for unregistering the controller
- The active controller's state machine removes the registration for controller 99901, meaning feature upgrades no longer consider node 99901's supported features
- The registration from controller 9990 1 is removed from the metadata image
...