Hello, I have created the KIP-498 <https://cwiki.apache.org/confluence/display/KAFKA/KIP-498%3A+Add+client-side+configuration+for+maximum+response+size+to+protect+against+OOM> to propose a minor addition to the producer configuration properties, in order to protect against OOM when the response message decoded by a client indicates an "abnormally high" size to be allocated.
This follows this discussion thread <https://www.mail-archive.com/dev@kafka.apache.org/msg55658.html> and is tracked by KAFKA-4090 <https://issues.apache.org/jira/browse/KAFKA-4090>. Please let me know what you think. I created this KIP even though the change seems minimal because it affects client configuration, which is mentioned as a type of change eligible for a KIP on this main wiki page <https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals> . Thanks, Alexandre