Re: Kafka wire protocol - Request and response versions.

2024-10-28 Thread Ivan Yurchenko
In case this may help generally with your research, I published a blog post [1] some time ago about some details of the protocol and basic implementation in Python. Best, Ivan [1] https://ivanyu.me/blog/2024/09/08/kafka-protocol-practical-guide/ On Mon, Oct 28, 2024, at 08:17, Chain Head wrote

Re: Kafka wire protocol - Request and response versions.

2024-10-27 Thread Chain Head
Thanks. Just found this sentence in the guide - "The server will reject requests with a version it does not support, and will always respond to the client with exactly the protocol format it expects based on the version it included in its request." On Mon, Oct 28, 2024 at 10:25 AM Ivan Yurchenko

Re: Kafka wire protocol - Request and response versions.

2024-10-27 Thread Ivan Yurchenko
Hi, The broker has to respond with the same API version (the response header doesn't even have the version field). Best, Ivan On Sun, Oct 27, 2024, at 20:22, Chain Head wrote: > Hello, > Suppose a client makes a API Versions request with version 3. Is it legal > for the broker to respond with

Kafka wire protocol - Request and response versions.

2024-10-27 Thread Chain Head
Hello, Suppose a client makes a API Versions request with version 3. Is it legal for the broker to respond with a version other than 3? Thanks.