pulsar
pulsar copied to clipboard
[Doc] Discrepancy in Pulsar's maxPendingMessages Default Value: Documentation vs Source Code
Search before asking
- [X] I searched in the issues and found nothing similar.
What issue do you find in Pulsar docs?
The link says that the default value of maxPendingMessages is 1000, as per this documentation.
However, in the source code of Pulsar 3.1.2, the default value obtained during debugging is 0.
The initialization location also shows 0.
What is your suggestion?
Given the discrepancy between the documentation and the actual default value observed in the source code, it would be beneficial to either update the documentation to reflect the correct default value or adjust the source code to match the documented default value.
Any reference?
No additional references needed beyond the current documentation and source code.
Are you willing to submit a PR?
- [X] I'm willing to submit a PR!