Skip to content

Solace Scaler: Enhancement add support for hostlist of Solace brokers#7089

Merged
zroubalik merged 7 commits intokedacore:mainfrom
dpochopsky:solace-scaler/add-hostlist-support
Oct 2, 2025
Merged

Solace Scaler: Enhancement add support for hostlist of Solace brokers#7089
zroubalik merged 7 commits intokedacore:mainfrom
dpochopsky:solace-scaler/add-hostlist-support

Conversation

@dpochopsky
Copy link
Contributor

@dpochopsky dpochopsky commented Sep 18, 2025

The purpose of this change is to support Solace Disaster Recovery (DR). Solace DR introduces an additional Solace Broker and operates in an active standby mode, so the scaler needs to query two different brokers with different endpoints, verify connectivity status as well as determine which of the brokers are active, once that is deteremined, the scaler operates as it did before.

Checklist

Fixes #7090

Relates to #
Here's the link to the documentation update PR: kedacore/keda-docs#1536

Signed-off-by: David Pochopsky <david.pochopsky@united.com>
@dpochopsky dpochopsky requested a review from a team as a code owner September 18, 2025 21:56
@github-actions
Copy link

Thank you for your contribution! 🙏

Please understand that we will do our best to review your PR and give you feedback as soon as possible, but please bear with us if it takes a little longer as expected.

While you are waiting, make sure to:

  • Add an entry in our changelog in alphabetical order and link related issue
  • Update the documentation, if needed
  • Add unit & e2e tests for your changes
  • GitHub checks are passing
  • Is the DCO check failing? Here is how you can fix DCO issues

Once the initial tests are successful, a KEDA member will ensure that the e2e tests are run. Once the e2e tests have been successfully completed, the PR may be merged at a later date. Please be patient.

Learn more about our contribution guide.

@keda-automation keda-automation requested a review from a team September 18, 2025 21:57
Signed-off-by: David Pochopsky <david.pochopsky@united.com>
Signed-off-by: David Pochopsky <david.pochopsky@united.com>
Signed-off-by: David Pochopsky <david.pochopsky@united.com>
@zroubalik
Copy link
Member

zroubalik commented Sep 19, 2025

/run-e2e solace
Update: You can check the progress here

@zroubalik zroubalik requested a review from Copilot September 19, 2025 11:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the Solace scaler to support Solace Disaster Recovery (DR) by adding hostlist functionality for multiple Solace brokers operating in active-standby mode.

  • Add support for comma-separated list of Solace broker URLs in solaceSempBaseURL
  • Implement VPN state checking to determine which broker is active before querying queue metrics
  • Add round-robin logic to try different brokers when one fails or is in standby mode

Reviewed Changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 2 comments.

File Description
pkg/scalers/solace_scaler.go Main implementation adding hostlist support, VPN state checking, and failover logic
pkg/scalers/solace_scaler_test.go Remove unused imports and simplify test to focus on metadata parsing
CHANGELOG.md Add changelog entry for the new Solace hostlist feature

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Signed-off-by: David Pochopsky <david.pochopsky@united.com>
@zroubalik
Copy link
Member

zroubalik commented Sep 26, 2025

/run-e2e solace
Update: You can check the progress here

@wozniakjan wozniakjan mentioned this pull request Sep 30, 2025
22 tasks
@wozniakjan wozniakjan changed the title Solace Scaler: Enhancemnt add support for hostlist of Solace brokers Solace Scaler: Enhancement add support for hostlist of Solace brokers Sep 30, 2025
Signed-off-by: dpochopsky <david.pochopsky@solace.com>
@keda-automation keda-automation requested review from a team October 1, 2025 18:41
@rickbrouwer
Copy link
Member

rickbrouwer commented Oct 1, 2025

/run-e2e solace
Update: You can check the progress here

@wozniakjan wozniakjan requested a review from Copilot October 2, 2025 11:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
@wozniakjan
Copy link
Member

wozniakjan commented Oct 2, 2025

/run-e2e solace
Update: You can check the progress here

@wozniakjan wozniakjan enabled auto-merge (squash) October 2, 2025 11:59
@zroubalik zroubalik disabled auto-merge October 2, 2025 14:24
@zroubalik zroubalik merged commit 418e41d into kedacore:main Oct 2, 2025
23 of 24 checks passed
alt-dima pushed a commit to alt-dima/keda that referenced this pull request Dec 13, 2025
…kedacore#7089)

Signed-off-by: David Pochopsky <david.pochopsky@united.com>
Signed-off-by: dpochopsky <david.pochopsky@solace.com>
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
Co-authored-by: Jan Wozniak <wozniak.jan@gmail.com>
Signed-off-by: Dmitriy Altuhov <altuhovd@gmail.com>
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Dec 22, 2025
…kedacore#7089)

Signed-off-by: David Pochopsky <david.pochopsky@united.com>
Signed-off-by: dpochopsky <david.pochopsky@solace.com>
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
Co-authored-by: Jan Wozniak <wozniak.jan@gmail.com>
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Feb 13, 2026
…kedacore#7089)

Signed-off-by: David Pochopsky <david.pochopsky@united.com>
Signed-off-by: dpochopsky <david.pochopsky@solace.com>
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
Co-authored-by: Jan Wozniak <wozniak.jan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Solace Scaler: Enhancement to support a hostlist of Solace brokers

6 participants