
- Moved the responsibilty to save rawdata to the notification classes - Notification are now created based on exchange instead of routing_key since routing_keys may not be unique across services - Separate consumers are now created for every exchange specified in the config - Each consumer is started in a separate process - Introduced notification factory and the config module
31 lines
921 B
JSON
31 lines
921 B
JSON
{"deployments": [
|
|
{
|
|
"name": "east_coast.prod.global",
|
|
"durable_queue": false,
|
|
"rabbit_host": "10.0.0.1",
|
|
"rabbit_port": 5672,
|
|
"rabbit_userid": "rabbit",
|
|
"rabbit_password": "rabbit",
|
|
"rabbit_virtual_host": "/",
|
|
"exit_on_exception": true,
|
|
"topics": {
|
|
"nova": ["monitor.info", "monitor.error"],
|
|
"glance": ["monitor_glance.info", "monitor_glance.error"]
|
|
}
|
|
},
|
|
{
|
|
"name": "east_coast.prod.cell1",
|
|
"durable_queue": false,
|
|
"rabbit_host": "10.0.1.1",
|
|
"rabbit_port": 5672,
|
|
"rabbit_userid": "rabbit",
|
|
"rabbit_password": "rabbit",
|
|
"rabbit_virtual_host": "/",
|
|
"exit_on_exception": false,
|
|
"topics": {
|
|
"nova": ["monitor.info", "monitor.error"],
|
|
"glance": ["monitor_glance.info", "monitor_glance.error"]
|
|
}
|
|
}]
|
|
}
|