-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doc] Fix doc for the wrong default value of maxPendingChunkedMessage
#14144
Conversation
Motivation There are inconsistencies between the code and the documentation regarding the default value of maxPendingChunkedMessage. Modification * Fix the wrong default value of `maxPendingChunkedMessage`. Use `10` as the default value. Signed-off-by: Zike Yang <zkyang@streamnative.io>
@@ -687,7 +687,7 @@ | |||
* the outstanding unchunked-messages by silently acking or asking broker to redeliver later by marking it unacked. | |||
* This behavior can be controlled by configuration: @autoAckOldestChunkedMessageOnQueueFull | |||
* | |||
* @default 100 | |||
* The default value is 10. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@default xx
is the "fixed format" in Java API docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@default
is not the correct way to set the default value in the java doc. Using it will cause the default values to not show up in the java doc.
/pulsarbot run-failure-checks |
Motivation
There are inconsistencies between the code and the documentation regarding the default value of maxPendingChunkedMessage.
Here is the discussion thread in the mailing list: https://lists.apache.org/thread/w4vfb5jd5xo9dndhrt7655pbhxn5xdvk
Modifications
maxPendingChunkedMessage
. Use10
as the default value.Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Documentation
doc