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"
# Optional
activationLagThreshold: "20"
groupVersion: 1
Parameter list:
address
- Address of the gRPC liiklus API endpoint.group
- Name of consumer group.topic
- Topic to monitor and scale based onlagThreshold
.lagThreshold
- Value to trigger scaling actions for. (Default:10
, Optional)activationLagThreshold
- Target value for activating the scaler. Learn more about activation here. (Default:0
, Optional)groupVersion
- Version of the group to consider when looking at messages. See docs. (Default:0
, Optional)
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