Re: Kafka protocol ApiVersions request/response

2023-09-29 Thread Neeraj Vaidya
I think I have found the answer to my question about how many ApiKey elements are in the response. The array type for ApiKey is probably a COMPACT_ARRAY but the BNF grammar does not say so in the Documentation. Is this a documentation defect/gap ? ApiVersions Response (Version: 3) => error_cod

Kafka protocol ApiVersions request/response

2023-09-28 Thread Neeraj Vaidya
Hi, I am trying to create a library in Go, to use the Kafka protocol binary format. As a first step, I am trying the ApiVersions request. The request is processed successfully by the Kafka broker and it responds with an ApiVersions response as well. And it conforms to the following spec as per