1) Currently we choose the highest version supported by broker. This is incorrect, we don't support it in the client for most requests.
2) Using Request api version for parsing Message is also incorrect. It's absolutely possible to receive a Message v0 in response to FetchRequest v1.
This patch allows me to enable with_api_versions_request() on Consumer.
1) Currently we choose the highest version supported by broker. This is incorrect, we don't support it in the client for most requests. 2) Using Request api version for parsing Message is also incorrect. It's absolutely possible to receive a Message v0 in response to FetchRequest v1.
This patch allows me to enable
with_api_versions_request()
on Consumer.