Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Zookeeper ActiveMQ unable to persist messages across nodes

$
0
0

I have setup Zookeeper activeMQ installations on 3 servers and they work as master slave perfectly. The queues are replicating perfectly, but the messages which are pushed to one queue are not replicating to other one if one queue goes down.

The activeMQ xml configuration is as below:

<replicatedLevelDB
            directory="${activemq.data}/leveldb"
            replicas="3"
            bind="tcp://0.0.0.0:0"
            zkAddress="server1:2181,server2:2181,server3:2181"
            hostname="server1"
            sync="quorum_mem"
            />
        </persistenceAdapter> 

Every created queue on master is generated on slave in case master goes down, however the messages which were pushed to the master are not getting displayed on the slave. Any help much appriciated.

-Vaibhav


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>