[akka-user] Akka design to create repositories.

2016-09-19 Thread Love Hasija
Hi, I am trying to create a domain driven repository using Akka. However, i am confused with regard to what the ideal design should look like. I have domain objects like Entity and a repository needs to be created with various interfaces like findByXYZ() and add(). The requirement for

[akka-user] Re: Akka Http Client - Encoding issue

2016-09-19 Thread André
Hi Srinaath, does it work with "https://example.com/customers/~/profiles/dj2bQryHPCj4IVrc48xTPD hswk%2FqNWx LuUA0G2T6GLnyBVD6wC231IjgDBYJnt/preferences" ? Akka should replace the spaces with a "+" while a "+" as input will get encoded as "%2B". HTH André Srinaath On Friday, September

Re: [akka-user] Cluster Sharding with remember-entity restarting a stopped actor

2016-09-19 Thread Patrik Nordwall
You need to use the `Passivate` message. http://doc.akka.io/docs/akka/2.4/java/cluster-sharding.html#Remembering_Entities Also, make sure that you don't call context.stop from any other thread than the actor's message receive. /Patrik On Sun, Sep 18, 2016 at 11:52 PM, Ajmal Babu

[akka-user] AKKA persistence actor eager loading of journal & snapshot.

2016-09-19 Thread Ajmal Babu
Following options is specified in the AKKA configuration file to eager load journals and snapshots for AKKA Cassandra persistence. We have an AKKA and persistence actor is started in one of the cluster nodes. but when the node dies the persistence actor does not automatically gets recreated on

[akka-user] Deploying akka cluster on Clever Cloud/Heroku

2016-09-19 Thread equiposubmit
Hello everyone, Currently, the project I am working on can be divided into a web frontend that uses Play! framework and several backend nodes that are developed in Akka. The goal was to set them up on different apps/dynos, so I would be able to scale the frontend horizontally and vertically, as

Re: [akka-user] Re: Documentation questions: akka-http

2016-09-19 Thread Mike Nielsen
Thank you! I have opened a case with IntelliJ. On Thu, Sep 15, 2016 at 3:14 PM, Johan Andrén wrote: > Hi, > > The format: ON/OFF are directives to our code auto-formatter to not touch > the code inside of that, for example when we have carefully laid it out to > be a

Re: [akka-user] [Akka-HTTP] Request for comment - Post render regex modifier

2016-09-19 Thread Derek Wyatt
Crap, sorry Konrad. Will do. On Monday, September 19, 2016 at 2:53:59 PM UTC-4, Konrad Malawski wrote: > > Hi Derek, > could you re-post this on github.com/akka/akka-http? > I want to have a look but having a very chaotic week - it'd help me/us to > have it as ticket - easier to find and come

[akka-user] [Akka-HTTP] Request for comment - Post render regex modifier

2016-09-19 Thread Derek Wyatt
Hi folks, I've been wrestling with a bug in IIS (see https://groups.google.com/d/msg/akka-user/7iW5-HlshZk/S75Wgxg_AwAJ). It seems that I'm going to have to deal with the problem myself, because either IIS can't be fixed or the guys I'm dealing with aren't willing to try. And, at any rate,

[akka-user] On cluster node failure is there an automatic way to recover cluster shard persistent actors in the failed node to other node?

2016-09-19 Thread Ajmal Babu
Working on AKKA persistence with cluster sharding and the flag akka.cluster.sharding.remember-entities set to "on". For some reason when one of the node dies in the cluster the entities in that node does not get automatically restarted in the other available nodes in the cluster. Is that the

Re: [akka-user] [Akka-HTTP] Request for comment - Post render regex modifier

2016-09-19 Thread Konrad Malawski
Hi Derek, could you re-post this on github.com/akka/akka-http? I want to have a look but having a very chaotic week - it'd help me/us to have it as ticket - easier to find and come back to it than on akka-user. I think we should be able to help in some way or another if servers are doing "weird

Re: [akka-user] [akka-streams] It is not possible to create Graph with the custom shapes

2016-09-19 Thread Roland Kuhn
Hi Sergey, Just add your custom stage using builder.add() and then write the ports of the resulting Shape using the normal GraphDSL methods. There is no need to make the wiring aware of your special shape. Regards, Roland Sent from my iPhone > On 19 Sep 2016, at 22:35, Sergey Sopin

Re: [akka-user] [Akka-HTTP] Request for comment - Post render regex modifier

2016-09-19 Thread Konrad Malawski
Nothing to be sorry about, thanks a lot for posting as issue! -- Konrad `ktoso` Malawski Akka @ Lightbend On 19 September 2016 at 11:55:11, Derek Wyatt (de...@derekwyatt.org) wrote: Crap, sorry Konrad. Will do. On Monday, September 19, 2016 at 2:53:59

[akka-user] [akka-streams] It is not possible to create Graph with the custom shapes

2016-09-19 Thread Sergey Sopin
Hi, Due to performance reasons I decided to create my new custom Shape with several inlets and several outlets (5 in and 3 out in my case). Then I decided to create Graph with the new element and realized that it is not possible without rewriting Graph object. In order to create my own shape I