Description
I noticed that the official Kafka consumer config docs for the max_partition_fetch_bytes
param now specify that it's a soft limit so that the consumer can make progress: https://kafka.apache.org/documentation/#newconsumerconfigs
It looks like the change happened as part of KIP-74 / KAFKA-2063 / actual implementation, which happened in Kafka 0.10.1.
Here's some of the relevant code in kafka-python
that will need to be updated:
kafka-python/kafka/consumer/fetcher.py
Lines 83 to 87 in fc9da05
kafka-python/kafka/consumer/fetcher.py
Lines 328 to 347 in fc9da05
This was further amended in Kafka 0.11 as part of KAFKA-5032 which relates to the new V2 message format which @tvoinarovskyi is working on in #1185.