You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Justin Borromeo (JIRA)" <ji...@apache.org> on 2019/02/19 19:50:00 UTC

[jira] [Created] (KAFKA-7953) Kafka Producer buffer-full policy should be configurable

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)