Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 938 Bytes

kafka-common-requests-MetadataResponse.adoc

File metadata and controls

31 lines (20 loc) · 938 Bytes

MetadataResponse

MetadataResponse holds information about a Kafka cluster, i.e. the broker nodes, the controller and the topics.

MetadataResponse
Figure 1. MetadataResponse

MetadataResponse is created mainly when KafkaApis handles a Metadata request.

cluster Method

Cluster cluster()

cluster…​FIXME

Note
cluster is used when…​FIXME

Creating MetadataResponse Instance

MetadataResponse takes the following when created:

  • throttleTimeMs

  • Broker nodes

  • cluster ID

  • controller ID

  • Collection of TopicMetadata

MetadataResponse initializes the internal registries and counters.