rabbitmq-http-connector

command
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 Imports: 8 Imported by: 0

README

Kafka KEDA connector image can be used in the Kubernetes deployment as scaleTargetRef in scaledObject of RabbitMQ 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 queue. Following enviornment variables are used by connector image as configuration to connect and authenticate with RabbitMQ 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: Optional. Queue to write errors on failure.
  • RESPONSE_TOPIC: Optional. 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
  • HOST: AMQP URI connection string, like amqp://guest:password@localhost:5672/vhost
  • CONCURRENT: The maximum concurrent message to process at the same time.

More information about the above parameters and how to define it scaledobject refer RabbitMQ scaler doc.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

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