Add tests for the dispatcherMaxRoundRobinBatchSize config #24094
Labels
good first issue
Good for newcomers
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Search before asking
Motivation
This config limits the max number of entries to dispatch for a
Shared
orKey_Shared
subscription. However, there is no related test, so a regression could be introduced.See
pulsar/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
Line 1299 in 3e6f7de
I added a TODO here:
pulsar/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherMultipleConsumers.java
Line 852 in 76e9f9f
If this line was changed like:
no tests will fail. This is dangerous because there is no test that guarantees the config works
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: