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

Update Azure Service Bus documentation for queueLength -> messageCount spec changes #430

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/docs/1.4/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ triggers:
# Optional, can use TriggerAuthentication as well
connection: SERVICEBUS_CONNECTIONSTRING_ENV_NAME # This must be a connection string for a queue itself, and not a namespace level (e.g. RootAccessPolicy) connection string [#215](https://github.com/kedacore/keda/issues/215)
# Optional
queueLength: "5" # Optional. Subscription length target for HPA. Default: 5 messages
messageCount: "5" # Optional. Average length target for HPA. Default: 5 messages
```

**Parameter list:**
Expand All @@ -35,7 +35,7 @@ triggers:
- `subscriptionName` - Name of the Azure Service Bus queue to scale on. *(Optional, required when `topicName` is specified)*
- `namespace` - Name of the Azure Service Bus namespace that contains your queue or topic. *(Optional, required when pod identity is used)*
- `connection` - Name of the environment variable your deployment uses to get the connection string of the Azure Service Bus namespace. *(Optional, can use TriggerAuthentication as well)*
- `queueLength` - Amount of active messages in your Azure Service Bus queue or topic to scale on. *(Required)*
- `messageCount` - Amount of active messages in your Azure Service Bus queue or topic to scale on. *(Optional)*

> 💡 **NOTE:** Service Bus Shared Access Policy needs to be of type `Manage`. Manage access is required for KEDA to be able to get metrics from Service Bus.

Expand Down Expand Up @@ -79,7 +79,7 @@ spec:
# Required: Define what Azure Service Bus to authenticate to with Managed Identity
namespace: service-bus-namespace
# Optional
queueLength: "5" # default 5
messageCount: "5" # default 5
authenticationRef:
name: azure-servicebus-auth # authenticationRef would need either podIdentity or define a connection parameter
```