Skip to content

Instantly share code, notes, and snippets.

@jordanvector
Created February 4, 2021 02:24
Show Gist options
  • Save jordanvector/fd7793f9d14497bfa91bb9bc66e464cb to your computer and use it in GitHub Desktop.
Save jordanvector/fd7793f9d14497bfa91bb9bc66e464cb to your computer and use it in GitHub Desktop.
Magento Env.php consumers mysql to rabbitmq
'queue' => [
'amqp' => [
'host' => 'localhost',
'port' => '5672',
'user' => 'guest',
'password' => 'guest',
'virtualhost' => '/',
'ssl' => ''
],
'topics' => [
'product_action_attribute.update' => [
'publisher' => 'amqp-magento'
],
'product_action_attribute.website.update' => [
'publisher' => 'amqp-magento'
],
'import_export.export' => [
'publisher' => 'amqp-magento'
],
'sales_rule.codegenerator' => [
'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.counter.updated' => [
'publisher' => 'amqp-magento'
],
'catalog.product.removed' => [
'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
]
]
],
'import_export.export' => [
'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
]
]
],
'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.counter.updated' => [
'connections' => [
'amqp' => [
'name' => 'amqp',
'exchange' => 'magento',
'disabled' => false
],
'db' => [
'name' => 'db',
'disabled' => true
]
]
],
'catalog.product.removed' => [
'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'
],
'exportProcessor' => [
'connection' => 'amqp'
],
'codegeneratorProcessor' => [
'connection' => 'amqp'
],
'inventory.source.items.cleanup' => [
'connection' => 'amqp'
],
'inventory.mass.update' => [
'connection' => 'amqp'
],
'inventory.reservations.cleanup' => [
'connection' => 'amqp'
],
'inventory.reservations.update' => [
'connection' => 'amqp'
],
'inventoryQtyCounter' => [
'connection' => 'amqp'
],
'quoteItemCleaner' => [
'connection' => 'amqp'
]
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment