IIRC, we already have a way (tool) to delete tenants in a cluster which is used by cloud team. So what's the requirement for this component here?
With hazelcast based clustering, we assume that the first (oldest) member as the coordinator for the cluster. We set this member as the coordinator and you can check whether the current node is the coordinator using ClusteringAgent#isCoordinator method. On Mon, Jan 18, 2016 at 6:24 PM, Nipuna Prashan <[email protected]> wrote: > Hi all, > > I am building an osgi component for tenant deletion task. This will be > deployed in every server (APIM, AS, AF, BAM, IS..). I have a requirement to > do this task in one node in the cluster while there is no single point of > failure. Only one node should start deletion while other nodes waiting on > the same server. > Is there a way to find the leader node/ contributor in a cluster? Any help > would be appreciated. > > > > -- > *Nipuna Prashan* > Software Engineering Intern > +94711852792 > -- *Kishanthan Thangarajah* Associate Technical Lead, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>* Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
