Warning
You are currently viewing v"2.7" of the documentation and it is not the latest. For the most recent documentation, kindly click here.
This specification describes the liiklus
trigger for Liiklus Topic.
triggers:
- type: liiklus
metadata:
# Required
address: localhost:6565
group: my-group
topic: test-topic
# Optional
lagThreshold: "50"
groupVersion: 1
Parameter list:
address
- Address of the gRPC liiklus API endpoint.group
- Name of consumer group.topic
- Topic to monitor and scale based on lagThreshold
.lagThreshold
- Value to trigger scaling actions for. (Default: 10
, Optional)groupVersion
- Version of the group to consider when looking at messages. See docs. (Default: 0
, Optional)Not supported yet.
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: liiklus-scaledobject
namespace: default
spec:
scaleTargetRef:
name: function-deployment
pollingInterval: 30
triggers:
- type: liiklus
metadata:
# Required
address: localhost:6565
group: my-group # Make sure that this consumer group name is the same one as the one that is consuming topics
topic: test-topic
# Optional
lagThreshold: "50" # Default value is set to 10