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
Cannot produce message to those topics without setting topic policies, when enable preciseTopicPublishRateLimiterEnable #10603
Comments
several problems are fixed in draft PR #10384 . |
this issue is caused by: when topic and namespace publish rate are not set or its value <=0, |
@gaozhangmin Thanks for pointing that out. Yes, it's a clear issue. I'll include the fix to #10384 since it fixes various other preciseTopicPublishRate limiter issues and those fixes are needed for using the feature. |
I added a fix to #10384 |
Describe the bug
Topics without setting topic level publishRate and namespace level publishRate(without setting policies or rate <= 0), cannot produce message to it. when setting:
preciseTopicPublishRateLimiterEnable=true. I found those topics are throttled by default.
to reproduce
enable
preciseTopicPublishRateLimiterEnable=true
systemTopicEnabled=true
topicLevelPoliciesEnabled=true
create a topic without setting topic level policies and namespace level policies:
bin/pulsar-perf produce -o 10000 -p 100000 -s 1024 -r 1000 -bm 1 1p
throttling should be disabled by default when topics level policies are not set.
The text was updated successfully, but these errors were encountered: