ElectPreferredLeadersRequest build(short version)
ElectPreferredLeadersRequest
ElectPreferredLeadersRequest
is a message request that is sent out from KafkaAdminClient when requested to elect preferred partition leaders (e.g. using kafka-leader-election.sh shell script) to the controller broker.
ElectPreferredLeadersRequest
uses ElectPreferredLeaders API key and the following properties:
ElectPreferredLeadersRequest
is created when:
-
AbstractRequest
is requested to parse a request (with the ElectPreferredLeaders API key) -
ElectPreferredLeadersRequest
is requested to parse a byte buffer -
ElectPreferredLeadersRequest.Builder
is requested to build a ElectPreferredLeadersRequest
ElectPreferredLeadersRequestData
ElectPreferredLeadersRequestData
is an API message with the following properties:
ElectPreferredLeadersRequest.Builder
Factory Object
ElectPreferredLeadersRequest.Builder
is a request builder to build a ElectPreferredLeadersRequest
.
toRequestData
Object Method
ElectPreferredLeadersRequestData toRequestData(
Collection<TopicPartition> partitions,
int timeoutMs)
toRequestData
…FIXME
Note
|
toRequestData is used when…FIXME
|