brocode/module-queue-deduplication 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

brocode/module-queue-deduplication

最新稳定版本:1.0.0

Composer 安装命令:

composer require brocode/module-queue-deduplication

包简介

Magento Module to enhance queueing capabilities with a deduplication mechanism

README 文档

README

This module provides the possibility to configure topics to deduplicate messages if they haven't been processed yed

Goals of this module:

Non-Goals of this module:

  • use the appropriate possibilities of an RabbitMQ plugin like https://github.com/noxdafox/rabbitmq-message-deduplication because
    • this function should work with the MySQL queue implementation from Magento as well
    • a separate plugin has to be installed with RabbitMQ and this is not always possible

"Buy Me A Coffee"

Installation

composer require brocode/module-queue-deduplication
bin/magento module:enable BroCode_QueueDeDuplication
bin/magento setup:upgrade

Configuration

The according deduplicated queue/topic must be configured within the file etc/queue_deduplication.xml. This is a sample file that can be used:

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:brocode:module:BroCode_QueueDeDuplication:/etc/queue_deduplication.xsd">
    <topic name="brocode.image.convert"/>
</config>

Nothing more needs to be configured.

Further Information

Current implementation is based on the configured Magento2-Caching strategy as it uses the internal caching mechanism for storing message ids that are scheduled within a queue. The current TTL is set to 1 day.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-23