Only last message of a particular topic gets replicated on backup server

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Only last message of a particular topic gets replicated on backup server

gauravgoelcs3
Hi,

I am facing an issue where I have one live and one backup server. I have published two messages on live server for same topic. Now, I stopped live server using ctrl+C and afterwards backup server gets started and becomes active but only last message gets replicated on backup server from live server. I need all the messages for a particular topic should be replicated on  backup server from live server.

I am using cluster-configuration and <ha-policy> as replication for both master and slave. For subscribing purpose, I am using MQTT.FX which consumes my messages.
Reply | Threaded
Open this post in threaded view
|

Re: Only last message of a particular topic gets replicated on backup server

jbertram
I'm not familiar enough with MQTT to say whether or not this is expected.

Can you outline specific steps and configuration to reproduce this issue?  An automated reproducer (e.g. based on one of the clustering examples shipped in Artemis) would be ideal.


Justin

----- Original Message -----
From: "gauravgoelcs3" <[hidden email]>
To: [hidden email]
Sent: Thursday, May 11, 2017 12:16:51 PM
Subject: Only last message  of a particular topic gets replicated on backup server

Hi,

I am facing an issue where I have one live and one backup server. I have
published two messages on live server for same topic. Now, I stopped live
server using ctrl+C and afterwards backup server gets started and becomes
active but only last message gets replicated on backup server from live
server. I need all the messages for a particular topic should be replicated
on  backup server from live server.

I am using cluster-configuration and <ha-policy> as replication for both
master and slave. For subscribing purpose, I am using MQTT.FX which consumes
my messages.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Only-last-message-of-a-particular-topic-gets-replicated-on-backup-server-tp4725985.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.