Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9713

Remove BufferExhausedException

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • producer
    • None

    Description

      BufferExhaustedException was deprecated in 0.9.0.0, and the corresponding block.on.buffer.full property has since been removed. The exception should follow.

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbyrne Brian Byrne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: