MetadataResponse

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

MetadataResponse.png
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.

results matching ""

    No results matching ""