activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t-watana <watanabe.tak...@jp.fujitsu.com>
Subject the useless commands are written into KahaDB when the durable subscriber is destroyed by "offline timeout"
Date Mon, 11 Jun 2018 10:19:16 GMT
Hi all, I use ActiveMQ 5.13.1 for MQTT.
It seems that ActivMQ 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 by Offline Timeout, 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 are not

Don't you think that it should be checked and written whether the "durable
subscriber" is actually subscribing the topic ?





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html

Mime
View raw message