You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by t-watana <wa...@jp.fujitsu.com> on 2018/06/12 00:07:34 UTC
Some useless commands when the durable subscriber is destroyed
(Offline Timeout)
Hi all, I use ActiveMQ 5.13.1 for MQTT.
It seems that ActiveMQ writes some useless commands, when the durable
subscriber is destroyed by Offline Timeout.
For example, the following situation:
- Topic a, b, c
- Durable Subscriber A, B, C
- "Durable Subscriber A" subscribe ONLY "Topic a"
- "Durable Subscriber B" subscribe ONLY "Topic b"
- "Durable Subscriber C" subscribe ONLY "Topic c"
When "Durable Subscriber A" is destroyed, ActiveMQ writes
the following three KAHA_SUBSCRIPTION_COMMANDs.
-KAHA_SUBSCRIPTION_COMMAND - TOPIC (DestId: 1:a), SubKey: A:EXACTLY_ONCE:A.
-KAHA_SUBSCRIPTION_COMMAND - TOPIC (DestId: 1:b), SubKey: A:EXACTLY_ONCE:A.
-KAHA_SUBSCRIPTION_COMMAND - TOPIC (DestId: 1:c), SubKey: A:EXACTLY_ONCE:A.
I think, the first command is necessary but the others not.
Don't you think that it should be checked and written whether the "durable
subscriber" is actually subscribing topic ?
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html