Files
bakery-ia/infrastructure/rabbitmq/definitions.json
2025-07-20 02:16:51 +02:00

94 lines
1.9 KiB
JSON

{
"rabbit_version": "3.12.0",
"rabbitmq_version": "3.12.0",
"product_name": "RabbitMQ",
"product_version": "3.12.0",
"users": [
{
"name": "bakery",
"password_hash": "hash_of_forecast123",
"hashing_algorithm": "rabbit_password_hashing_sha256",
"tags": ["administrator"]
}
],
"vhosts": [
{
"name": "/"
}
],
"permissions": [
{
"user": "bakery",
"vhost": "/",
"configure": ".*",
"write": ".*",
"read": ".*"
}
],
"exchanges": [
{
"name": "bakery_events",
"vhost": "/",
"type": "topic",
"durable": true,
"auto_delete": false,
"internal": false,
"arguments": {}
}
],
"queues": [
{
"name": "training_events",
"vhost": "/",
"durable": true,
"auto_delete": false,
"arguments": {
"x-message-ttl": 86400000
}
},
{
"name": "forecasting_events",
"vhost": "/",
"durable": true,
"auto_delete": false,
"arguments": {
"x-message-ttl": 86400000
}
},
{
"name": "notification_events",
"vhost": "/",
"durable": true,
"auto_delete": false,
"arguments": {
"x-message-ttl": 86400000
}
}
],
"bindings": [
{
"source": "bakery_events",
"vhost": "/",
"destination": "training_events",
"destination_type": "queue",
"routing_key": "training.*",
"arguments": {}
},
{
"source": "bakery_events",
"vhost": "/",
"destination": "forecasting_events",
"destination_type": "queue",
"routing_key": "forecasting.*",
"arguments": {}
},
{
"source": "bakery_events",
"vhost": "/",
"destination": "notification_events",
"destination_type": "queue",
"routing_key": "notification.*",
"arguments": {}
}
]
}