是否有一个企业消息队列可以删除重复消息(保留第一个值)?
我正在寻找具有这些要求的消息队列。找不到它;也许最接近的是rabbitmq-lvc插件(但我需要行中的第一个值坚持并保持在前面)。 有人知道支持这些的技术吗?
- 消息队列是 FIFO 的,
- 如果正在排队重复的消息,则消息队列本身会拒绝或丢弃它。
例如,生产者按以下顺序将这三个消息(每个消息都有一个鉴别器值)放入队列中:M1(鉴别器= 7654),M2(鉴别器= 2435),M3(鉴别器= 7654)。 现在我希望消息队列看到 M3 具有与 M1 相同的鉴别器值,从而丢弃/拒绝 M3。消费者仅收到:M1、M2。
谢谢 汤姆
I am looking looking for a message queue with these requirements. Couldn't find it; maybe the closest was the rabbitmq-lvc plugin (but I need the first value in the line to stick and stay in front).
Would anyone know a technology to support these?
- message queue is FIFO
- if a duplicate message is being enqueued, the message queue itself either rejects or drops it.
For example, producers put these three messages (each with a discriminator value) into the queue in this sequence: M1(discriminator=7654), M2(discriminator=2435), M3(discriminator=7654).
Now I want the message queue to see that M3 has the same discriminator value as M1 and thus drop/reject M3. Consumers receive only: M1, M2.
Thanks
Tom
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道其他传输,但我知道 WebSphere MQ 不会执行此操作,并且我相信其原因的解释将广泛适用于整个类别。我会非常惊讶地发现任何消息传送实际上都提供了这一点。以下是一些原因:
正如我所说,我不了解其他消息传递产品,因此可能有一些东西可以满足您的要求,如果是这样,我将有兴趣阅读它。然而,如果没有人回复,这篇文章可能会揭示一些原因。
I don't know the other transports but I know that WebSphere MQ doesn't do this and I believe that the explanation why would apply broadly across the category. I'd be very surprised to find that any messaging transport actually provides this. Here are a few reasons why:
As I said, I don't know the other messaging products so there may be something out there which meets your requirement and if so I'll be interested to read about it. However in the event hat nobody replies, this post may shed some light on the reasons why.