Skip to content

Commit

Permalink
Apache Pulsar: document new support for partitioned topics (kedacore#975
Browse files Browse the repository at this point in the history
)

Signed-off-by: Michael Marshall <[email protected]>

Signed-off-by: Michael Marshall <[email protected]>
  • Loading branch information
michaeljmarshall authored Nov 11, 2022
1 parent 6d5e9c5 commit c0670b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/docs/2.9/scalers/pulsar.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ triggers:
metadata:
adminURL: http://localhost:80
topic: persistent://public/default/my-topic
isPartitionedTopic: false
subscription: sub1
msgBacklogThreshold: '5'
activationMsgBacklogThreshold: '2'
Expand All @@ -25,6 +26,7 @@ triggers:
- `adminURL` - Stats URL of the admin API for your topic.
- `topic` - Pulsar topic. format of `persistent://{tenant}/{namespace}/{topicName}`
- `isPartitionedTopic` - Whether the `topic` is partitioned. When `true`, the `msgBacklogThreshold` will be the cumulative subscription backlog across partitions. (default: `false`, Optional)
- `subscription` - Name of the topic subscription
- `msgBacklogThreshold` - Average target value to trigger scaling actions. (default: 10)
- `activationMsgBacklogThreshold` - Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds).(Default: `0`, Optional)
Expand Down Expand Up @@ -60,6 +62,7 @@ spec:
metadata:
adminURL: http://localhost:80
topic: persistent://public/default/my-topic
isPartitionedTopic: false
subscription: sub1
msgBacklogThreshold: '5'
```
Expand Down

0 comments on commit c0670b0

Please sign in to comment.