-
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
Fix nats-jetstream scaler to use account ID instead of name #6415
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Camille Dela Rosa <[email protected]>
Signed-off-by: Camille Dela Rosa <[email protected]>
Signed-off-by: Camille Dela Rosa <[email protected]>
Signed-off-by: Camille Dela Rosa <[email protected]>
Signed-off-by: Camille Dela Rosa <[email protected]>
Signed-off-by: Camille Dela Rosa <[email protected]>
Hello |
💯 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
NATS API uses account ID to filter by account (as confirmed by NATS team).

Current checks causes an issue when account ID and name are different. Updating the checks to use account ID instead.
To replicate issue, create a NATS account with name different from ID like below
Create nats-jetstream ScaledObject, check logs and find error
“scaler”: “natsJetStreamScaler”, “error”: “leader node not found for consumer”
Checklist
Fixes #
Relates to #