-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename DecommissionBroker to UnregisterBroker
As was done in the Kafka source. Also, this is apparently not an admin request -- the request only works in raft mode, and any broker can receive the request and forward it.
- Loading branch information
Showing
4 changed files
with
60 additions
and
62 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// For KIP-500 / KIP-631, UnregisterBrokerRequest is an admin request to | ||
// remove registration of a broker from the cluster. | ||
UnregisterBrokerRequest => key 64, max version 0, flexible v0+ | ||
// The broker ID to unregister. | ||
BrokerID: int32 | ||
|
||
// UnregisterBrokerResponse is a response to a UnregisterBrokerRequest. | ||
UnregisterBrokerResponse => | ||
ThrottleMillis | ||
// Any error code, or 0. | ||
ErrorCode: int16 | ||
// The error message, if any. | ||
ErrorMessage: nullable-string |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters