[akka-user] Re: [akka-cluster] ClusterClient and ConstructR

2017-05-09 Thread Evgeny Shepelyuk
Thanks Rafał

Already figured it out :)

понеділок, 8 травня 2017 р. 17:58:51 UTC+3 користувач Rafał Krzewski 
написав:
>
> Hi Evgeny,
>
> In such situation I'd 
> use de.heikoseeberger.constructr.coordination.Coordination (it's subclass 
> specific for the data store you are using) on the nodes outside the cluster 
> that need to look up contact points.
> You can call Coordination.getNodes() and if None comes back, wait some 
> time and retry.
>
> Cheers,
> Rafał
>
>
> W dniu czwartek, 4 maja 2017 14:28:53 UTC+2 użytkownik Evgeny Shepelyuk 
> napisał:
>>
>> Hi All
>>
>> Is there any example of using ConstructR with ClusterClient.
>>
>> I am having AKKA cluster bootstrapped with ConstructR and Zookeeper, 
>> i.e. I have no predefined seed nodes to create ClusterClient.
>>
>> So, I should connect too Zookeeper and retrieve seed nodes set by 
>> ConstructR.
>>
>> What is the proper way of doing this except using low level Zookeeper API
>>
>> P.S. This is not Zookeeper specific question, it's the same for  ETCD / 
>> Consul.
>>
>

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[akka-user] Re: [akka-cluster] ClusterClient and ConstructR

2017-05-08 Thread Rafał Krzewski
Hi Evgeny,

In such situation I'd 
use de.heikoseeberger.constructr.coordination.Coordination (it's subclass 
specific for the data store you are using) on the nodes outside the cluster 
that need to look up contact points.
You can call Coordination.getNodes() and if None comes back, wait some time 
and retry.

Cheers,
Rafał


W dniu czwartek, 4 maja 2017 14:28:53 UTC+2 użytkownik Evgeny Shepelyuk 
napisał:
>
> Hi All
>
> Is there any example of using ConstructR with ClusterClient.
>
> I am having AKKA cluster bootstrapped with ConstructR and Zookeeper, i.e. 
> I have no predefined seed nodes to create ClusterClient.
>
> So, I should connect too Zookeeper and retrieve seed nodes set by 
> ConstructR.
>
> What is the proper way of doing this except using low level Zookeeper API
>
> P.S. This is not Zookeeper specific question, it's the same for  ETCD / 
> Consul.
>

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.