lordcheng10 edited a comment on pull request #6719: URL: https://github.com/apache/pulsar/pull/6719#issuecomment-1034435608
Why should the initial value of avgMessagePerEntry be fixed at 1000, instead of using the actual number of messages of an entry obtained by the first push as the initial value. If the actual number of messages contained in an entry is 1, then according to the current logic, it takes more than 1000 iterations before avgMessagePerEntry may be close to the real value, and before again, the number of messages pushed each time will be 1, which will seriously affect the throughput. @hangc0276 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
