View Source KlifeProtocol.Messages.FindCoordinator (Klife Protocol v0.7.0)
Kafka protocol FindCoordinator message
Request versions summary:
- Version 1 adds KeyType.
- Version 2 is the same as version 1.
- Version 3 is the first flexible version.
- Version 4 adds support for batching via CoordinatorKeys (KIP-699)
- Version 5 adds support for new error code TRANSACTION_ABORTABLE (KIP-890).
Response versions summary:
- Version 1 adds throttle time and error messages.
- Starting in version 2, on quota violation, brokers send out responses before throttling.
- Version 3 is the first flexible version.
- Version 4 adds support for batching via Coordinators (KIP-699)
- Version 5 adds support for new error code TRANSACTION_ABORTABLE (KIP-890).
Link to this section Summary
Functions
Returns the message api key number.
Receive a binary in the kafka wire format and deserialize it into a map.
Returns the current max supported version of this message.
Returns the current min supported version of this message.
Receives a map and serialize it to kafka wire format of the given version.
Link to this section Functions
Returns the message api key number.
Receive a binary in the kafka wire format and deserialize it into a map.
Response content fields:
throttle_time_ms: The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota. (int32 | versions 1+)
error_code: The error code, or 0 if there was no error. (int16 | versions 0-3)
error_message: The error message, or null if there was no error. (string | versions 1-3)
node_id: The node id. (int32 | versions 0-3)
host: The host name. (string | versions 0-3)
port: The port. (int32 | versions 0-3)
coordinators: Each coordinator result in the response ([]Coordinator | versions 4+)
key: The coordinator key. (string | versions 4+)
node_id: The node id. (int32 | versions 4+)
host: The host name. (string | versions 4+)
port: The port. (int32 | versions 4+)
error_code: The error code, or 0 if there was no error. (int16 | versions 4+)
error_message: The error message, or null if there was no error. (string | versions 4+)
Returns the current max supported version of this message.
Returns the current min supported version of this message.
Receives a map and serialize it to kafka wire format of the given version.
Input content fields:
key: The coordinator key. (string | versions 0-3)
key_type: The coordinator key type. (Group, transaction, etc.) (int8 | versions 1+)
coordinator_keys: The coordinator keys. ([]string | versions 4+)