Thanks Konrad, I will wait till 2.4.

However, thinking about this a bit more adding cluster roles only solves 
half the problem. The other issue is that I need to have the actor class on 
the "local" machine to get a ClusterShard. What I would like to do is to 
implement CQRS/ES like this:

Play servers (fronted by HAProxy) - Cluster Role: FrontEnd

Akka cluster with Persistent actor - Cluster Role: Command

Akka cluster with Persistent views - Cluster Role: Query

Once cluster roles are in place, this will let me do this, however I would 
still need the source code of the the two cluster to be on the frontend 
because IU need the actor class on the front end. Really it is not need 
there it is only used by the two back end cluster, I hesitate to say this, 
but it might be better to give the class name as a string... Not ideal 
either, but it will decouple the back end from the front end.

Chanan


On Wednesday, April 29, 2015 at 5:33:41 AM UTC-4, Akka Team wrote:
>
> Hello there,
> This new feature will be part of the 2.4.x release which we'll soon start 
> working on to get over through the finish-line - no hard timeline for it 
> but "soon" :-)
> If you need it back-ported to 2.3.x we can do this for our customers - in 
> general new features are not added to maintanance relases.
>
> -- Konrad
>
> On Tue, Apr 28, 2015 at 6:33 PM, Chanan Braunstein <
> [email protected] <javascript:>> wrote:
>
>> Hello,
>>
>> It looks like this is currently no way to specify a role for a 
>> ClusterShard to be on in the cluster. There is a pull request that was 
>> merged in Oct 2014 that adds roles to ClusterShards:
>>
>> https://github.com/akka/akka/issues/16123
>>
>> Will that be in the point release of Akka, and if so, is there a date for 
>> that?
>>
>> Thanks,
>> Chanan
>>
>> -- 
>> >>>>>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Akka Team
> Typesafe - Reactive apps on the JVM
> Blog: letitcrash.com
> Twitter: @akkateam
>  

-- 
>>>>>>>>>>      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