"users": [
{
"name": "agent",
"password_hash": "RBCbTzQdK/rmOIWmD+IhmKfNc+O35lC3WRYFtXCvL4/Lr9/f",
"hashing_algorithm": "rabbit_password_hashing_sha256",
"tags": "administrator"
}
],
"permissions":[
{
"user":"agent",
"vhost":"/",
"configure":".*",
"write":".*",
"read":".*"
}
],
"vhosts": [
{"name": "/"}
],
"queues": [
{"name": "inbound.metrics.common.q", "vhost": "/", "durable": true, "auto_delete": false, "arguments": {}}
],
"exchanges": [
{"name": "inbound.observability.common.ex", "vhost": "/", "type": "direct", "durable": true, "auto_delete": false, "internal": false, "arguments": {}}
],
"bindings": [
{"source": "inbound.observability.common.ex", "vhost": "/", "destination": "inbound.metrics.common.q", "destination_type": "queue", "routing_key": "test-key", "arguments": {}}
],
"shovels": [
{
"name": "metrics-shovel",
"vhost": "/",
"value": {
"src-uri": "amqp://agent:12345678@localhost:5672",
"src-queue": "inbound.metrics.common.q",
"dest-uri": "amqp://user:password@host.docker.internal:5672",
"dest-exchange": "metrics.ex",
"dest-exchange-key": "test-key",
"ack-mode": "on-confirm",
"delete-after": "never"
}
}
]
}
а вы не пробовали их задекларировать через веб наприммер и выгрузить definitions ?
Обсуждают сегодня