renatocason / magento2-module-mq-mysql
Magento 2 Message Queue OS MySQL Broker Implementation
Installs: 8 691
Dependents: 1
Suggesters: 1
Security: 0
Stars: 3
Watchers: 3
Forks: 6
Open Issues: 1
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
Requires (Dev)
- php-coveralls/php-coveralls: ~2.1.0
- phpmd/phpmd: @stable
- phpunit/phpunit: ~6.5.13
- squizlabs/php_codesniffer: 3.3.1
This package is auto-updated.
Last update: 2024-12-08 04:16:19 UTC
README
MySQL message queue backend implementation for Rcason_Mq.
Installation
- Require the module via Composer
$ composer require renatocason/magento2-module-mq-mysql
- Enable the module
$ bin/magento module:enable Rcason_MqMysql $ bin/magento setup:upgrade
Configuration
- Configure the Mq module as explained here
- Specify mysql as broker when configuring a queue in your module's etc/ce_mq.xml file
<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Rcason_Mq:etc/ce_mq.xsd"> <ceQueue name="product.updates" broker="mysql" messageSchema="int" consumerInterface="Rcason\MqExample\Model\ExampleConsumer"/> </config>
Authors, contributors and maintainers
Author:
License
Licensed under the Open Software License version 3.0