[MINOR] Fix documentation of parameter "block.on.buffer.full"#954
Conversation
There was a problem hiding this comment.
The javadoc for this config says:
This config will be removed in a future release. Also, the {@link #METADATA_FETCH_TIMEOUT_CONFIG} is no longer honored when this property is set to true.
It may be worth including that in the actual text. Going forward, MAX_BLOCK_MS_CONFIG should be used instead.
|
@ijuma thanks for the review. I just updated this PR. I did not squash both commits on purpose (if you want me to squash them, just let me know.) |
|
LGTM cc @gwenshap |
There was a problem hiding this comment.
Could use the parameter variable here. METADATA_FETCH_TIMEOUT_CONFIG
|
Thanks for your comments @granthenke Unfortunately, I get an compile error I do not understand... (I commented your comment...) Btw: I had a look through the whole file, and there are some more thing we could improve.
(There is also "block.on.buffer.full" in What do you think about this? Should I include some of it in this PR? |
…lt value is "false" and not "true" - extended documentation according to reviewer comment. - minor improvements of other parmeters: * use variables instead of hard coded parameter names * replace JavaDoc with proper HTML markup
|
@ijuma @granthenke Just updated this. |
|
LGTM, thanks @mjsax! |
default value is "false" and not "true"
See: https://stackoverflow.com/questions/35578519/kafka-block-on-buffer-full-default-value
and
kafka/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java
Line 232 in d5b43b1