You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Azure Service Bus (single dispatch, sessions-based)
71
71
72
-
The following table shows how [Azure Event Hubs trigger parameters](/azure/azure-functions/functions-bindings-service-bus) map to the [KEDA scaler configuration values](https://keda.sh/docs/scalers/azure-service-bus/).
72
+
The following table shows how [Azure Service Bus trigger parameters](/azure/azure-functions/functions-bindings-service-bus) map to the [KEDA scaler configuration values](https://keda.sh/docs/scalers/azure-service-bus/) when `isSessionsEnabled` is true.
73
+
74
+
| Parameter | Functions Configuration | KEDA Configuration |
| Functions trigger description | KEDA scaler description |
81
+
|---|---|
82
+
| Maximum number of sessions handled concurrently per scaled instance. Use this setting only when `isSessionsEnabled` is true. | Number of active messages in your Azure Service Bus queue or topic to scale on. |
The following table shows how [Azure Service Bus trigger parameters](/azure/azure-functions/functions-bindings-service-bus) map to the [KEDA scaler configuration values](https://keda.sh/docs/scalers/azure-service-bus/) for batch processing.
73
91
74
92
| Parameter | Functions Configuration | KEDA Configuration |
75
93
|--|--|--|
@@ -132,79 +150,11 @@ Use this value as the target for the total lag (sum of all partition lags) to tr
132
150
133
151
`metadata.lagThreshold` = `LagThreshold`
134
152
135
-
### Azure Cosmos DB
136
-
137
-
The [Azure Cosmos DB trigger](/azure/azure-functions/functions-bindings-cosmosdb-v2-trigger) doesn't map to a KEDA scaler. Use custom scaling instead.
138
-
139
-
The Functions trigger sets the maximum number of items received per function call. Transaction scope is preserved for stored procedures.
140
-
141
-
| Parameter | Functions Configuration | KEDA Configuration |
|**Configuration path**| Function trigger attribute | N/A |
145
-
|**Default value**| 100 | N/A |
146
-
147
-
#### Example
148
-
149
-
```csharp
150
-
[CosmosDBTrigger(
151
-
databaseName:"ToDoItems",
152
-
containerName:"Items",
153
-
Connection="CosmosDBConnection",
154
-
MaxItemsPerInvocation=100)]
155
-
```
156
153
157
154
### HTTP trigger
158
155
159
156
The [HTTP trigger](/azure/azure-functions/functions-bindings-http-webhook) doesn't map to a KEDA scaler. Instead, use the Container Apps built-in HTTP scaling capabilities or external monitoring solutions.
160
157
161
-
| Parameter | Functions Configuration | KEDA Configuration |
The following table shows how [Azure Blob Storage trigger parameters](/azure/azure-functions/functions-bindings-storage-blob) map to the [KEDA scaler configuration values](https://keda.sh/docs/scalers/azure-storage-blob/).
170
-
171
-
| Parameter | Functions Configuration | KEDA Configuration |
|**Default value**| 8 × number of available cores | 5 |
176
-
177
-
| Functions trigger description | KEDA scaler description |
178
-
|---|---|
179
-
| Sets the number of concurrent invocations allowed for all blob-triggered functions in a function app. Minimum value: 1. | Average target value to trigger scaling actions. (Default: 5, Optional) |
The [Azure Event Grid trigger parameters](/azure/azure-functions/functions-bindings-event-grid) don't map to a KEDA scaler.
188
-
189
-
The Event Grid trigger uses a webhook HTTP request. You configure this request by using the same `host.json` settings as the HTTP trigger. These settings control parallel execution for resource management.
190
-
191
-
### RabbitMQ trigger
192
-
193
-
The following table shows how [RabbitMQ trigger parameters](/azure/azure-functions/functions-bindings-rabbitmq) map to the [KEDA scaler configuration values](https://keda.sh/docs/scalers/rabbitmq-queue/).
194
-
195
-
| Parameter | Functions Configuration | KEDA Configuration |
| Functions trigger description | KEDA scaler description |
202
-
|---|---|
203
-
| Number of messages the receiver can simultaneously request and cache. | Message backlog or publish/sec rate to trigger scaling. In QueueLength mode, the value represents the target queue length for scaling. |
0 commit comments