Fix nats-jetstream scaler to use account ID instead of name#6415
Fix nats-jetstream scaler to use account ID instead of name#6415cmay-zh wants to merge 6 commits intokedacore:mainfrom
Conversation
Signed-off-by: Camille Dela Rosa <camille.delarosa@zerohash.com>
Signed-off-by: Camille Dela Rosa <camille.delarosa@zerohash.com>
Signed-off-by: Camille Dela Rosa <camille.delarosa@zerohash.com>
Signed-off-by: Camille Dela Rosa <camille.delarosa@zerohash.com>
Signed-off-by: Camille Dela Rosa <camille.delarosa@zerohash.com>
|
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. |
|
This issue has been automatically closed due to inactivity. |
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 #