Webb27 apr. 2024 · activemq的subscribers界面如下,也有两个数据,如果我们消费者下线了,就会到Offline Durable Topic Subscribers列表 修改消费者的代码后,生产者发送消息的时候,如果消费者在线,就直接消费,如果不在线,上线后还可以继续消费,下图是消费者消费了几次后,LAST_ACKED_ID变成了4。 WebbIf a topic has an offline durable subscriber, the messages will stay in the topic until the offline durable becomes active and consumes it or the offline durable subscription is deleted from the topic. This can be checked to find out which durable holds these messages by doing the following: “show topic &lttopic name>” and “show durables”.
Atomikos Forum - ActiveMQ durable topic subscriber issue
WebbTo see only durable topic consumers, use: show consumers topic=> durable The sort parameter sorts the consumers by either connection ID, user name, destination name, or number of pending messages. The full parameter shows all columns listed below and can be as wide as 120-140 characters or wider. Webb27 maj 2024 · But this leads to creation of "Offline Durable Topic Subscribers" with a wrong state. 3. From my understanding 1 client id is mapped to one subscription id which is mapped to one topic. But this mapping always ends up in a different state after a restart of the broker Example : ... how to use clacker balls
Offline Durable Topic Subscription exceeds memory limits
WebbDurable topics however are different as they must logically persist an instance of each suitable message for every durable consumer - since each durable consumer gets … Webb10 aug. 2016 · When a durable subscription is set up between a queue and a topic, the queue can be offline when the message hits the topic. Once the queue comes back online, the message can be received. If the subscription is non-durable, then any messages received to the topic while the topic subscriber is offline will not be … WebbDurable topic subscribers that are offline for a long period of time are usually not desired in the system. The reason for that is that broker needs to keep all the messages sent to those topics for the said subscribers. And this message piling can over time exhaust broker store limits for example and lead to the overall slowdown of the system. organic charcoal powder