-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Pulsar scaler for non-persistent topics? #6059
Comments
It's a nice point. |
@JorTurFer Yes I do. I’ll open a PR. |
@JorTurFer I have a question. Currently the name of the trigger for the Pulsar scaler is "msgBacklogThreshold" (https://keda.sh/docs/2.15/scalers/pulsar/#trigger-specification). I'm wondering if I should integrate this feature into the existing Pulsar scaler and use some common name for the trigger like "targetValue", or should just make another scaler for non-persistent topics. |
This'd be nice but we can't remove the old value directly as it's a breaking change. To remove the value we have to follow the deprecation policy -> https://github.com/kedacore/governance/blob/main/DEPRECATIONS.md#introducing-new-deprecations I like the idea and from implementation pov it's just supporting both parameters during 2 versions and then removing the old one instead of just renaming it directly |
@JorTurFer Just to be clear, you're suggesting the former approach where I introduce a new value while keeping the old "msgBacklogThreshold" for 2 versions following the deprecation policy, right? Also, keda/pkg/scalers/pulsar_scaler.go Line 185 in 66d4c95
|
Proposal
Currently the Pulsar scaler only supports persistent topics based on the topics' message backlog count. Since the backlog count is only available for persistent topics, non-persistent topics are currently not supported in the Pulsar scaler. Would it be possible to scale based on the number of unacknowledged messages in non-persistent topics?
Scaler Source
Pulsar
Scaling Mechanics
the number of unacknowledged messages on non-persistent topics.
Authentication Source
Anything else?
What does authentication source mean?
The text was updated successfully, but these errors were encountered: