You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by James Black <be...@yahoo.co.uk> on 2014/11/20 12:43:41 UTC

Re: ActiveMQ Master Slave with ZooKeeper Session Expiration

Hi,

I had the same issue with 2 ActiveMq 5.10 nodes and 3 ZooKeeper nodes.

At first everything worked well but after long running stress tests we had
the same situation were the master would step down and no node would become
the new master.  This would break our application and we were glad not to be
using this in production.

After this we moved to using RabbitMq and have had no problems with that
solution.

Thanks,

Justin



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Master-Slave-with-ZooKeeper-Session-Expiration-tp4686562p4687808.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ Master Slave with ZooKeeper Session Expiration

Posted by khandelwalanuj <kh...@gmail.com>.
Just to be clear: 
Zookeeper side : Session Timeout is 2 * tick_time. 
"zkSessionTmeout" : ActiveMQ configuration for session timeout 

So if I specify both tick_time and zkSessionTimeout different which will be
respected. Is it minimum of both the values ?

Thanks,
Anuj





--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Master-Slave-with-ZooKeeper-Session-Expiration-tp4686562p4688333.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ Master Slave with ZooKeeper Session Expiration

Posted by khandelwalanuj <kh...@gmail.com>.
Hi Torsh,

I also saw this issue once. What values did you specify for tickTime and
zkSessionTmeout ? 

Thanks,
Anuj



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Master-Slave-with-ZooKeeper-Session-Expiration-tp4686562p4688318.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.