keda-connectors

module
v0.0.0-...-e8f84c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2023 License: Apache-2.0

README

Keda Connectors

Keda is a Kubernetes-based Event Driven Autoscaler which enables you to scale containers for processing events based on number of events. Keda watches the source of events such as a Message Queue with "Scalers". Once the events start coming in, Keda scales a deployment (Worker POD) from 0 to 1 and uses HPA to scale from 1 to N. Once messages are consumed, Keda can also scale back the deployments to 1 and 0.

The deployment that Keda scales can be a custom program you write to do something with message or if your goal is to do something generic as calling a HTTP Server with message content as request body then you can use Keda Connectors. Keda Connectors provide you readymade generic images to process events for standard tasks and send them to a standard set of destinations. For example if you are going to read messages from RabbitMQ and then call an HTTP endpoint then you can use RabbitMQ HTTP Connector. You just have to create a standard deployment manifest with all env variables needed for that deployment/pod. Following diagram shows a sample of Keda with kafka-http-connector and rabbitmq-http-connector.

Keda Connectors

Current Connector List

Connector Name Connector Description
AWS SQS HTTP Connector Reads message from AWS SQS and posts to a HTTP endpoint.
Kafka HTTP Connector Consumes messages from Kafka topics and posts the message to an HTTP endpoint.
RabbitMQ HTTP Connector Reads message from RabbitMQ and posts to a HTTP endpoint. Currently only the AMQP protocol is supported for consuming RabbitMQ messages.
AWS Kinesis Stream HTTP Connector Reads message from Amazon Kinesis Data Streams and posts to a HTTP endpoint.
Nats Streaming HTTP Connector Subscribes to a Nats streaming queue with subject and queue group to read the messages and posts to a HTTP endpoint.

Contributing

If you want to contribute please checkout the contributing guide

Resources

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL