Skip to content
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

Merged
merged 1 commit into from
Feb 8, 2022

Conversation

RobertIndie
Copy link
Member

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

  • Fix the wrong default value of maxPendingChunkedMessage. Use 10 as the default value.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Documentation

  • doc

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>
@github-actions github-actions bot added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Feb 7, 2022
@@ -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.
Copy link
Member

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?

Copy link
Member Author

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.

@codelipenghui codelipenghui added this to the 2.10.0 milestone Feb 7, 2022
@RobertIndie
Copy link
Member Author

/pulsarbot run-failure-checks

@Anonymitaet Anonymitaet merged commit ef405ce into apache:master Feb 8, 2022
codelipenghui pushed a commit that referenced this pull request Feb 10, 2022
@codelipenghui codelipenghui added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Feb 10, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.9 Archived: 2.9 is end of life doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. release/2.9.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants