-
Notifications
You must be signed in to change notification settings - Fork 117
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
Eventing Trigger - dispatcher rate limiter #4171
Comments
currently, there is not, however, I'm wondering if the way is configurable is working for you
from where did you get that 20 ? I think you should see 1 event per second in this case |
Hi @pierDipi, Thanks for your reply. The number is showing in my test, but I'm not sure where the value of 20 comes from. Could it be the default worker pool size for Vert.x (20 threads)? Initially, I tested with 1 partition, and then increased it to 3 partitions. The behavior is as follows:
|
which version are you using? |
Hi Team,
I am currently working on applying a rate limiter to control the rate of messages process by a Trigger.
Based on my tests, this can be achieved by:
dispatcher-rate-limiter: enabled
.kafka.eventing.knative.dev/delivery.order: ordered
.LimitedNumber = NumberOfPartitions * 20
I would like to ask if there is another way to control the LimitedNumber.
From my reading of the code, the bucket is calculated a: link
Alternatively, is there a way to apply a configuration or annotation to set the limit number for a Trigger?
The text was updated successfully, but these errors were encountered: