christoff-linde / pih-infrastructure

All PIH-related infrastructure configurations and setups
MIT License
0 stars 0 forks source link

Setup RabbitMQ #2

Closed christoff-linde closed 2 days ago

christoff-linde commented 3 days ago

A basic setup is needed. This includes a RabbitMQ broker running in Docker, with the admin UI enabled. Additionally, the MQTT plugin should be enabled to ensure communication is possible with ESP devices. Lastly, a basic queue/exchange setup should be configured on startup.

Components

Exchanges

iot

For all iot-related traffic.

Routing Key: #

Queues

temperature

For all temperature-related data.

Routing Key: pih.temperature

humidity

For all humidity-related data.

Routing Key: pih.humidity

linear[bot] commented 3 days ago

CHR-40 Setup RabbitMQ

christoff-linde commented 2 days ago

Additional config options can be referenced in future. For now, the defaults looks to be a good option.