duanqian6295 2019-05-13 14:11
浏览 552

RabbitMQ实现的ACK就像在MQTT中一样

We have a specific problem with our RabbitMQ

We need to ensure that over many Queues with different topics there is a 1-1 and not 1-N messages. Just like in MQTT when one consumer acknowledges the push message it goes away.

The problem is that topics are an fan-out type.

Example:

one script publishes a message with routing key:

local.appNAme.clientName 

And we have 2 ques with folowing rounting keys

que 1. local.*.clientName
que 2. local.#

They both get the Quqe as far i get it. And acknowledging one unlike in MQTT does not delete the other one.

Any idea how to implement the same behavior with routing wildcards in Rabbit?

ps. They are on the same server on the same Exchange.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 关于#qt#的问题:Qt代码的移植问题
    • ¥50 求图像处理的matlab方案
    • ¥50 winform中使用edge的Kiosk模式
    • ¥15 关于#python#的问题:功能监听网页
    • ¥15 怎么让wx群机器人发送音乐
    • ¥15 fesafe材料库问题
    • ¥35 beats蓝牙耳机怎么查看日志
    • ¥15 Fluent齿轮搅油
    • ¥15 八爪鱼爬数据为什么自己停了
    • ¥15 交替优化波束形成和ris反射角使保密速率最大化