Skip to content
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

NATS JetStream doesn't detect a leader change #6042

Closed
JorTurFer opened this issue Aug 6, 2024 · 0 comments · Fixed by #6043
Closed

NATS JetStream doesn't detect a leader change #6042

JorTurFer opened this issue Aug 6, 2024 · 0 comments · Fixed by #6043
Labels
bug Something isn't working

Comments

@JorTurFer
Copy link
Member

JorTurFer commented Aug 6, 2024

Report

Currently, if there is a change in the leader due to any reason (manual step-down, disruptions, rotations, etc...) KEDA doesn't detect the change and still request the info to the same node. When a node isn't the consumer leader, it only exposes the current information about in-flight messages. This means that I can have 10k messages pending, but if the node is only processing 100 (because the consumer doesn't allow more), KEDA will see only those 100 instead of the 10k.

Expected Behavior

KEDA should switch to the new leader automatically

Actual Behavior

KEDA is stuck using the old leader

@JorTurFer JorTurFer added the bug Something isn't working label Aug 6, 2024
@github-project-automation github-project-automation bot moved this from To Triage to Ready To Ship in Roadmap - KEDA Core Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready To Ship
Development

Successfully merging a pull request may close this issue.

1 participant