Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 934 Bytes

kafka-common-requests-AbstractRequest-Builder.adoc

File metadata and controls

33 lines (22 loc) · 934 Bytes

AbstractRequest.Builder Contract — Request Builders

AbstractRequest.Builder is the abstraction of request builders that can build a request.

Table 1. AbstractRequest.Builder Contract
Method Description

build

T build(short version)

Builds a message request (of type T)

Used when:

  • NetworkClient is requested to doSend

  • ReplicaAlterLogDirsThread is requested to fetchFromLeader

  • OffsetFetchRequest is requested to forAllPartitions

  • SaslClientAuthenticator is requested to createSaslHandshakeRequest and sendSaslClientToken