PHPackages                             hirale/openmage-redis-queue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. hirale/openmage-redis-queue

ActiveMagento-module[Caching](/categories/caching)

hirale/openmage-redis-queue
===========================

A simple redis queue module for openmage

v1.0.0(1y ago)236↓33.3%32OSL-3.0PHPPHP ^8.0

Since Jun 9Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/hirale/openmage-redis-queue)[ Packagist](https://packagist.org/packages/hirale/openmage-redis-queue)[ RSS](/packages/hirale-openmage-redis-queue/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (2)

Hirale Redis Queue Module
=========================

[](#hirale-redis-queue-module)

A module using Redis Stream to process asynchronous tasks.

Modules that depend on this module
----------------------------------

[](#modules-that-depend-on-this-module)

ModuleURLGoogle Analytics 4 Measurement Protocol[openmage-ga4-measurement](https://github.com/hirale/openmage-ga4-measurement)Meta Conversions API[openmage-meta-conversions](https://github.com/hirale/openmage-meta-conversions)Install
-------

[](#install)

### Install with [Magento Composer Installer](https://github.com/Cotya/magento-composer-installer)

[](#install-with-magento-composer-installer)

```
composer require hirale/openmage-redis-queue
```

Usage
-----

[](#usage)

### Setup

[](#setup)

Go to openmage system config `System > Configuration > System > Hirale Redis Queue Settings`.

[![System > Configuration > System > Hirale Redis Queue Settings](image.png)](image.png)

### Quick start example

[](#quick-start-example)

1. Create a new module, name it `Hirale_QueueExample`. `app/etc/modules/Hirale_QueueExample.xml`

    ```

                true
                local

    ```
2. Create `app/code/local/Hirale/QueueExample/etc/config.xml`.

    ```

                 1.0.0

                     Hirale_QueueExample_Model

                             singleton
                             hirale_queue_example/observer
                             testExample

    ```
3. Creat a new task hanlder that implements `Hirale_Queue_Model_TaskHandlerInterface` class. `app/code/local/Hirale/QueueExample/Model/TestHandler.php`

    ```
