Justin Borromeo created KAFKA-7953:
--------------------------------------
Summary: Kafka Producer buffer-full policy should be configurable
Key: KAFKA-7953
URL: https://issues.apache.org/jira/browse/KAFKA-7953
Project: Kafka
Issue Type: Improvement
Components: producer
Reporter: Justin Borromeo
Currently, any attempt to write a message to a full KafkaProducer queue will
block until the message is written or `max.block.ms` is reached. For some use
cases, it would be preferable to treat the new message as higher-priority and
expire the oldest message from the queue. If there isn't a way to do that with
the existing implementation, an additional configuration value for expiration
policy (either expire the newest message or the oldest message) would be useful.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)