Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

bringg/dkron-executor-rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dkron-executor-rabbitmq

RabbitMQ Executor for dkron that publishes given message to given queue example:

{
  "name": "send_emails",
  "schedule": "@every 1m",
  "shell": false,
  "executor": "rabbitmq",
  "executor_config": {
    "queue_name": "email-service",
    "payload": "{\"email\": \"yosi@email.com\", \"subject\": \"hello world\"}"
  },
  "disabled": false
}

configuration

In order for dkron-executor-rabbitmq to know which rabbitmq it should connect, you need to pass configuration, there are multiple options:

  • Next to config/dkron.json, create config/dkron-executor-rabbitmq.json with content { "rabbit_host": "..." }
  • Specify environment variable - DKRON_EXECUTOR_RABBITMQ_RABBIT_HOST with the rabbit host

Releases

No releases published

Packages

No packages published

Languages