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

1.2.3 2020-11-07 19:01 UTC

This package is auto-updated.

Last update: 2024-12-08 04:16:19 UTC


README

MySQL message queue backend implementation for Rcason_Mq.

Build Status Coverage Status Latest Stable Version Latest Unstable Version Total Downloads License

Installation

  1. Require the module via Composer
$ composer require renatocason/magento2-module-mq-mysql
  1. Enable the module
$ bin/magento module:enable Rcason_MqMysql
$ bin/magento setup:upgrade

Configuration

  1. Configure the Mq module as explained here
  2. 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