renatocason / magento2-module-mq-example
Magento 2 Message Queue OS Example Module
Installs: 60
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.1.0|~7.2.0|~7.3.0
- magento/framework: 100.1.*|101.0.*|102.0.*
- renatocason/magento2-module-mq: ~1.1.0
- renatocason/magento2-module-mq-mysql: ~1.2.0
README
Simple implementation example for Rcason_Mq.
This module is just a proof of concept and an easy example to get started with message queues. It's not useful in ral life by any mean.
Installation
- Require the module via Composer
$ composer require renatocason/magento2-module-mq-example
- Enable the module
$ bin/magento module:enable Rcason_MqExample $ bin/magento setup:upgrade
Usage
- Check that everything is properly configured
$ bin/magento ce_mq:queues:list
product.updates should appear in the list if available queues.
- Launch the consumer (and leave it running)
$ bin/magento ce_mq:consumers:start product.updates
- Tail system.log
$ tail -f var/log/system.log
- Open a product in the admin and save it
- A message regarding the product you saved will appear in the logs
Authors, contributors and maintainers
Author:
License
Licensed under the Open Software License version 3.0