You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "qiyingqizi (via GitHub)" <gi...@apache.org> on 2024/01/16 03:19:02 UTC

[I] [Doc] [pulsar]

qiyingqizi opened a new issue, #21904:
URL: https://github.com/apache/pulsar/issues/21904

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/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](https://www.bookstack.cn/read/pulsar-3.1-en/8b057fe4ee63e90d.md). 
   
   However, in the source code of Pulsar 3.1.2, the default value obtained during debugging is 0. 
   
   The initialization location also shows 0.
   
   ![QQ图片20240116111222](https://github.com/apache/pulsar/assets/141155246/b331bbdb-217b-4b23-8550-b35fe1ed2c03)
   ![QQ图片20240116111227](https://github.com/apache/pulsar/assets/141155246/a039d3a2-10ab-413c-b7ec-32d5b35c9d31)
   ![QQ图片20240116111233](https://github.com/apache/pulsar/assets/141155246/683992fd-545a-4180-942c-052b1d037147)
   ![QQ图片20240116111237](https://github.com/apache/pulsar/assets/141155246/bed6d6ad-7e15-4db0-b829-23d6786b3e41)
   
   
   ### 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!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org