LeaderAndIsrRequest is a concrete AbstractRequest with LeaderAndIsr API key and the following properties:

  • Controller ID

  • Controller Epoch

  • PartitionStates by TopicPartition (Map<TopicPartition, PartitionState>)

  • Live broker nodes

  • Version

LeaderAndIsrRequest is created when:

LeaderAndIsrRequest.Builder Factory Object

LeaderAndIsrRequest comes with a concrete AbstractRequest.Builder factory object that can build a LeaderAndIsrRequest.

LeaderAndIsrRequest build(short version)

LeaderAndIsrRequest.Builder is used exclusively when ControllerBrokerRequestBatch is requested to sendRequestsToBrokers.

Creating LeaderAndIsrRequest from Byte Buffer — parse Factory Method

LeaderAndIsrRequest parse(ByteBuffer buffer, short version)


parse is used when…​FIXME

results matching ""

    No results matching ""