You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Brian Byrne (Jira)" <ji...@apache.org> on 2020/03/30 14:10:00 UTC

[jira] [Resolved] (KAFKA-9713) Remove BufferExhausedException

     [ https://issues.apache.org/jira/browse/KAFKA-9713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Byrne resolved KAFKA-9713.
--------------------------------
    Resolution: Duplicate

> Remove BufferExhausedException
> ------------------------------
>
>                 Key: KAFKA-9713
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9713
>             Project: Kafka
>          Issue Type: Task
>          Components: producer 
>            Reporter: Brian Byrne
>            Priority: Trivial
>
> BufferExhaustedException was deprecated in 0.9.0.0, and the corresponding block.on.buffer.full property has since been removed. The exception should follow.
> {quote}Deprecations in 0.9.0.0
> The producer config block.on.buffer.full has been deprecated and will be removed in future release. Currently its default value has been changed to false. The KafkaProducer will no longer throw BufferExhaustedException but instead will use max.block.ms value to block, after which it will throw a TimeoutException. If block.on.buffer.full property is set to true explicitly, it will set the max.block.ms to Long.MAX_VALUE and metadata.fetch.timeout.ms will not be honoured{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)