zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irfanullah Ansari <write2irfanans...@gmail.com>
Subject Zookeeper Leader thread works
Date Mon, 12 Mar 2018 10:02:01 GMT
Dear Team,


I've query regarding Leader thread work in zookeeper.

In one of my use case, I want Leader thread to listen on some event other
then own's children.

*Use Case - *

Basically I've two site1 and site2 and if site1 goes down, Site2 will start
taking all request of site1. Site2 have leader thread running, I want
site2's Leader thread to perform some task like cleaning work of site1.

How I can do that.

Any help would be applicable.

I've posted a query on stackoverflow.
Link -
https://stackoverflow.com/questions/49209119/how-to-interrupt-leader-for-custom-event-using-curator-framework

-- 


*Regards,*
*Irfanullah Ansari*
Mob - 9811486972
Linked In - https://in.linkedin.com/in/irfanullah-ansari-1b302998

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message