I was going over the kafka(0.9.0.1) producer configuration, and the property block.on.buffer.full in the documentation says:
When our memory buffer is exhausted we must either stop accepting new records (block) or throw errors. By default this setting is true and we block, however in some scenarios blocking is not desirable and it is better to immediately give an error. Setting this to false will accomplish that: the producer will throw a BufferExhaustedException if a recrord is sent and the buffer space is full.
So theoretically it should be true, but in that same documentation (http://kafka.apache.org/documentation.html) the table has a column called "default" that points out that the default value is actually false.
Which one is correct?
The default value is false.
Here is the producer default configuration for the latest release.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With