THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
VersionID CorrelationID ClientID Controller_ID Controller_Epoch Partition_States Brokers Brokers => NumberOfBroker [Broker] NumberOfBroker => Int32 Broker => ID NumberOfEndPoints [EndPoint] Rack // Rack is added in version 2 ID => int32 NumberOfEndPoints => int32 EndPoint => Port Host ProtocolID Port => int32 Host => string ProtocolID => int16 Rack => string |
Changes to TopicMetadataRequest and TopicMetadataResponse
TopicMetadataRequest will increment its version from 0 to 1. If Kafka receives TopicMetadataRequest with version 1, it will create TopicMetadataResponse with rack as part of BrokerEndPoint. Here is the new format for TopicMetadataResponse:
...