Skip to content

feat(trait/keda): add ActiveMQ scaler auto-discovery - #6904

Open
ansh0014 wants to merge 1 commit into
apache:mainfrom
ansh0014:keda-scaler-activemq
Open

ansh0014 wants to merge 1 commit into
apache:mainfrom
ansh0014:keda-scaler-activemq

Conversation

@ansh0014

Copy link
Copy Markdown
Contributor

Description

This PR adds automatic KEDA scaler discovery for Apache ActiveMQ endpoints, as discussed with @squakez.

When keda.auto is enabled, any activemq: endpoint automatically creates a KEDA trigger with type: activemq by mapping:

  • Destination name from URI path (supporting activemq:queue:<name>, activemq:topic:<name>, and activemq:<name>)
  • Scaler metadata parameters: destinationName, managementEndpoint, brokerName, targetQueueSize, activationTargetQueueSize, corsHeader, and restAPITemplate

Changes:

  • Implemented ActiveMQScaler in pkg/trait/keda/scalers/activemq.go
  • Added comprehensive unit tests in pkg/trait/keda/scalers/activemq_test.go
  • Updated KEDA trait documentation in docs/modules/traits/pages/keda.adoc

Tests:

  • Ran go test -v -count=1 ./pkg/trait/keda/... — all tests pass.

Copilot AI balanced review requested due to automatic review settings October 23, 2026 07:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@squakez squakez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think those are valid options. We may need the similar approach we're using in #6893 or wait for it to be merged and reuse the code we're developing there.

This branch has not been deployed

No deployments
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.

3 participants