That is how it should be done. Have you also configured akka.cluster.roles
= [data] *only* on the nodes that should be used?

Regards,
Patrik

On Fri, Oct 9, 2015 at 6:33 PM, Yuji Kiriki <[email protected]> wrote:

> Hello.
>
> I have been trying to limit the replication of a *LWWMap* to the node
> roles named with "data".
>
> I followed the documentation and I found that I can do it using this
> configuration on the application.conf:
>
>   akka.cluster.distributed-data {
>>     role = data
>>   }
>
>
>
> After some tests, I found that it seems that the data is replicated over
> all the nodes, with a "data" role or not, even though the configuration I
> added in the application.conf.
>
> Probably my tests are biased. That is why I reach you, maybe you can
> explain to me how could I demo that the replication is made only over a
> named cluster role.
>
>  Regards,
>
> --
> >>>>>>>>>> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to