I am trying to read the "Metadata" request in proxy\common.go file under the method myCopyN() function in the for loop as show below
if requestKeyVersion.ApiKey == 3 && requestKeyVersion.ApiVersion == 5 {
logrus.Printf("Metadata request: %s", string(buf[0:n]) )
}
I am getting the following result, which is not following the request structure as defined in the Kafka protocol guide.
Metadata request: ) clientId topicName
is this a bug in Kafka Proxy ? or something wrong the way I am reading? please help.
Also I see there is no "STRUCT" defined for the "MetaData" request in Kafka Proxy source code, does this mean the "MetaData" request does not follow any structure?, then how to read the "MetaData" request? , please help
I am trying to read the "Metadata" request in proxy\common.go file under the method myCopyN() function in the for loop as show below if requestKeyVersion.ApiKey == 3 && requestKeyVersion.ApiVersion == 5 { logrus.Printf("Metadata request: %s", string(buf[0:n]) ) } I am getting the following result, which is not following the request structure as defined in the Kafka protocol guide.
Metadata request: ) clientId topicName is this a bug in Kafka Proxy ? or something wrong the way I am reading? please help.
Also I see there is no "STRUCT" defined for the "MetaData" request in Kafka Proxy source code, does this mean the "MetaData" request does not follow any structure?, then how to read the "MetaData" request? , please help