Implement lab 7 transport security and worker containment
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
[rabbitmq_management,rabbitmq_prometheus].
|
||||
@@ -0,0 +1,23 @@
|
||||
listeners.tcp.1 = 127.0.0.1:5672
|
||||
management.tcp.ip = 127.0.0.1
|
||||
management.tcp.port = 15672
|
||||
prometheus.tcp.ip = 127.0.0.1
|
||||
prometheus.tcp.port = 15692
|
||||
|
||||
loopback_users.guest = true
|
||||
log.console = true
|
||||
log.console.level = info
|
||||
log.file = false
|
||||
|
||||
definitions.import_backend = local_filesystem
|
||||
definitions.local.path = /etc/rabbitmq/definitions.d
|
||||
|
||||
vm_memory_high_watermark.absolute = 256MiB
|
||||
disk_free_limit.absolute = 256MB
|
||||
raft.wal_max_size_bytes = 64000000
|
||||
|
||||
consumer_timeout = 300000
|
||||
heartbeat = 30
|
||||
|
||||
deprecated_features.permit.transient_nonexcl_queues = false
|
||||
deprecated_features.permit.global_qos = false
|
||||
Reference in New Issue
Block a user