THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
{ size: int32 // the size of this response, not including the first 4 bytes for this field error_code: int16 // global error code for this request, if any coordinator_id: int16int32 // broker id of the coordinator num_brokers: int16 // number of brokers in the following list brokers_info: [<broker_struct>] // current broker list in the cluster } broker_struct => { id: int32 host: string // we adapt the protocol of 0.8 for strings, where the size of the string is stored at the beginning, followed by the bytes port: int32 } |
...