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

Figure 1. MetadataResponse
MetadataResponse
is created mainly when KafkaApis
handles a Metadata request.
Creating MetadataResponse Instance
MetadataResponse
takes the following when created:
MetadataResponse
initializes the internal registries and counters.