Liiklus Topic Latest
Scale applications based on Liiklus Topic.
Trigger Specification
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 endpointgroup
- Name of consumer grouptopic
- Topic to monitor and scale based onlagThreshold
lagThreshold
- Value to trigger scaling actions for (default: 10)groupVersion
- Version of the group to consider when looking at messages. See docs (default: 0)
Authentication Parameters
Not supported yet.
Example
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