AWS SQS KEDA connector image can be used in the Kubernetes deployment as scaleTargetRef in scaledObject of AWS SQS scaler.
The job of the connector is to read messages from the queue, call an HTTP endpoint with the body of the message, and write response or error in the respective queues. Following enviornment variables are used by connector image as configuration to connect and authenticate with AWS SQS cluster which should be defined in the Kubernetes deployment manifest.
TOPIC: Queue from which messages are read.
HTTP_ENDPOINT: http endpoint to post request.
ERROR_TOPIC: Queue to write errors on failure.
RESPONSE_TOPIC: Queue to write responses on success response.
SOURCE_NAME: Optional. Name of the Source. Default is "KEDAConnector".
MAX_RETRIES: Maximum number of times an http endpoint will be retried upon failure.
CONTENT_TYPE: Content type used while creating post request.