Skip to content

Instantly share code, notes, and snippets.

@xxorax
Forked from dianabotean/env.php
Last active September 18, 2023 23:49
Show Gist options
  • Save xxorax/bf8f3822b5d0d024e33d1ed3fd277480 to your computer and use it in GitHub Desktop.
Save xxorax/bf8f3822b5d0d024e33d1ed3fd277480 to your computer and use it in GitHub Desktop.
move open source queues to rabbit
[
(...)
'queue' => [
'amqp' => [
'host' => '<rabbitmq_host>',
'port' => '<rabbitmq_port>',
'user' => '<rabbitmq_user>',
'password' => '<rabbitmq_pass>',
'virtualhost' => '/',
'ssl' => false
],
'topics' => [
'product_action_attribute.update' => [
'publisher' => 'amqp-magento'
],
'product_action_attribute.website.update' => [
'publisher' => 'amqp-magento'
],
'media.storage.catalog.image.resize' => [
'publisher' => 'amqp-magento'
],
'sales_rule.codegenerator' => [
'publisher' => 'amqp-magento'
],
'import_export.export' => [
'publisher' => 'amqp-magento'
],
'inventory.source.items.cleanup' => [
'publisher' => 'amqp-magento'
],
'inventory.mass.update' => [
'publisher' => 'amqp-magento'
],
'inventory.reservations.cleanup' => [
'publisher' => 'amqp-magento'
],
'inventory.reservations.update' => [
'publisher' => 'amqp-magento'
],
'inventory.reservations.updateSalabilityStatus' => [
'publisher' => 'amqp-magento'
],
'inventory.indexer.sourceItem' => [
'publisher' => 'amqp-magento'
],
'inventory.indexer.stock' => [
'publisher' => 'amqp-magento'
],
'media.content.synchronization' => [
'publisher' => 'amqp-magento'
],
'media.gallery.synchronization' => [
'publisher' => 'amqp-magento'
]
],
'config' => [
'publishers' => [
'product_action_attribute.update' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'product_action_attribute.website.update' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'media.storage.catalog.image.resize' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'sales_rule.codegenerator' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'import_export.export' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'inventory.source.items.cleanup' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'inventory.mass.update' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'inventory.reservations.cleanup' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'inventory.reservations.update' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'inventory.reservations.updateSalabilityStatus' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'inventory.indexer.sourceItem' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'inventory.indexer.stock' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'media.content.synchronization' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'media.gallery.synchronization' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
]
]
],
'consumers' => [
'product_action_attribute.update' => [
'connection' => 'amqp'
],
'product_action_attribute.website.update' => [
'connection' => 'amqp'
],
'media.storage.catalog.image.resize' => [
'connection' => 'amqp'
],
'codegeneratorProcessor' => [
'connection' => 'amqp'
],
'exportProcessor' => [
'connection' => 'amqp'
],
'inventory.source.items.cleanup' => [
'connection' => 'amqp'
],
'inventory.mass.update' => [
'connection' => 'amqp'
],
'inventory.reservations.cleanup' => [
'connection' => 'amqp'
],
'inventory.reservations.update' => [
'connection' => 'amqp'
],
'inventory.reservations.updateSalabilityStatus' => [
'connection' => 'amqp'
],
'inventory.indexer.sourceItem' => [
'connection' => 'amqp'
],
'inventory.indexer.stock' => [
'connection' => 'amqp'
],
'media.content.synchronization' => [
'connection' => 'amqp'
],
'media.gallery.synchronization' => [
'connection' => 'amqp'
]
]
]
];
'queue' => [
'topics' => [
'async.operations.all' => [
// magento/magento2-base/app/etc/di.xml
'publisher' => 'db-magento-db'
]
],
'config' => [
'publishers' => [
'async.operations.all' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => true
],
'db' => [
'name' => 'db',
'exchange' => 'magento',
'disabled' => false
]
]
]
]
],
'consumers' => [
'async.operations.all' => [
'connection' => 'db',
],
],
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment