Skip to main content

Message Queue (RabbitMQ)

RabbitMQ is required if you want to use services that interact with OpenTalk Controller.

Configuration

The section in the configuration file is called rabbit_mq.

FieldTypeRequiredDefault valueDescription
urlstringno"amqp://guest:guest@localhost:5672"The RabbitMQ broker URL connection
mail_task_queuestringno-Name of the RabbitMQ queue for the SMTP-Mailer
recording_task_queuestringno-Name of the RabbitMQ queue for the recorder
min_connectionsuintno10Minimum connections to retain when removing stale connections
max_channelsuintno100Maxmimum number of AMQP channels per connection allowed
message_ttl_secondsuintno3600The number of seconds after which RabbitMQ will discard messages that haven't been processed by then

Examples

With mail worker queue

[rabbit_mq]
mail_task_queue = "opentalk_mailer"

With all configurations

[rabbit_mq]
url = "amqp://username:password@host/%2F"
mail_task_queue = "opentalk_mailer"
recording_task_queue = "opentalk_recorder"
min_connections = 10
max_channels_per_connection = 100
message_ttl_seconds = 3600