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条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 对于相关问题的求解与代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料
    • ¥15 使用R语言marginaleffects包进行边际效应图绘制
    • ¥20 usb设备兼容性问题
    • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
    • ¥15 安装svn网络有问题怎么办