Skip to content

Commit

Permalink
document kafka partitionLimitation parameter (#981)
Browse files Browse the repository at this point in the history

Signed-off-by: Tobias Krause <tobias.krause@otto.de>
Signed-off-by: Tobias Krause <tobiaskrause@users.noreply.github.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
  • Loading branch information
tobiaskrause and tomkerkhove authored Dec 7, 2022
1 parent 362c4d1 commit 88caea1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/docs/2.8/scalers/apache-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ triggers:
allowIdleConsumers: false
scaleToZeroOnInvalidOffset: false
version: 1.0.0
partitionLimitation: '1,2,10-20,31'
```
**Parameter list:**
Expand All @@ -48,6 +49,7 @@ partitions on a topic, allowing for idle consumers. (Default: `false`, Optional)
If 'false' (the default), the scaler will keep a single consumer for that partition. Otherwise ('true'), the consumers for that
partition will be scaled to zero. See the [discussion](https://github.com/kedacore/keda/issues/2612) about this parameter.
- `version` - Version of your Kafka brokers. See [samara](https://github.com/Shopify/sarama) version (Default: `1.0.0`, Optional)
- `partitionLimitation` - Comma separated list of partition ids to scope the scaling on. Allowed patterns are "x,y" and/or ranges "x-y". If set, the calculation of the lag will only take these ids into account. (Default: All partitions, Optional)

> **Note:**
>
Expand Down

0 comments on commit 88caea1

Please sign in to comment.