Implement lab 7 transport security and worker containment

This commit is contained in:
Artyom
2026-11-13 23:58:00 +03:00
parent 20afc2c790
commit 170a76a6ce
543 changed files with 96442 additions and 65 deletions
+44
View File
@@ -0,0 +1,44 @@
{
"rabbit_version": "4.1.8",
"vhosts": [
{"name": "messenger", "description": "lab6 attachment pipeline", "default_queue_type": "quorum"}
],
"exchanges": [
{"name": "attachments", "vhost": "messenger", "type": "direct", "durable": true, "auto_delete": false, "internal": false, "arguments": {}},
{"name": "attachments.dlx", "vhost": "messenger", "type": "fanout", "durable": true, "auto_delete": false, "internal": false, "arguments": {}}
],
"queues": [
{"name": "attachments.process", "vhost": "messenger", "durable": true, "auto_delete": false, "arguments": {"x-queue-type": "quorum"}},
{"name": "attachments.process.dlq", "vhost": "messenger", "durable": true, "auto_delete": false, "arguments": {"x-queue-type": "quorum"}}
],
"bindings": [
{"source": "attachments", "vhost": "messenger", "destination": "attachments.process", "destination_type": "queue", "routing_key": "attachment.process.v1", "arguments": {}},
{"source": "attachments.dlx", "vhost": "messenger", "destination": "attachments.process.dlq", "destination_type": "queue", "routing_key": "", "arguments": {}}
],
"policies": [
{
"vhost": "messenger",
"name": "attachments-process",
"pattern": "^attachments\\.process$",
"apply-to": "queues",
"priority": 10,
"definition": {
"dead-letter-exchange": "attachments.dlx",
"dead-letter-strategy": "at-least-once",
"overflow": "reject-publish",
"delivery-limit": -1
}
},
{
"vhost": "messenger",
"name": "attachments-dlq",
"pattern": "^attachments\\.process\\.dlq$",
"apply-to": "queues",
"priority": 10,
"definition": {
"max-length": 100000,
"overflow": "reject-publish"
}
}
]
}