[akka-user] Re: akka-http ssl setup documentation / examples isn't very clear. Is config-based

2017-05-17 Thread abdeali
recently I was also working on AKKA Http SSL and I would agree to your comment upto some extent, nevertheless I succeeded implementing SSL using sslContext and not using sslConfig at all I referred to documentation only ... here's a link which may help you ...

[akka-user] akka-http client: How to ensure response entity is read

2017-05-17 Thread Arno Haase
I am aware that response entities must always be consumed with akka-http client. For (very) slow connections I find it difficult to do that reliably. Consuming the entity is asynchronous and therefore requires timeouts - but if the timeouts fire, I may be left with an entity that is only partly

[akka-user] proper termination of ClusterRouterGroup, mem leak?

2017-05-17 Thread bitsofinfo . g
Whats the best way to properly terminate a ClusterRouterGroup actor i'm doing ActorRef actorRef = getContext().actorOf(new ClusterRouterGroup(new RandomGroup(myPaths), new ClusterRouterGroupSettings(config.getClusterRouterGroup_totalInstances(), myPaths, true,

[akka-user] Common practice for akka cluster logging

2017-05-17 Thread Dai Yinhua
Hi team, I am using akka cluster sharding for an analytics application in production. And we are using kubernetes to run all akka jvms in container. The thing I feel awkward is that how to collect all logs from all containers. I know a popular solution for distributed application log is ELK,

Re: [akka-user] Akka Cluster Failing for Huge Data File

2017-05-17 Thread Patrik Nordwall
Performance debugging/tuning is not something I can help with in free OSS support. We would be able to do that in Lightbend's commercial support. Regards, Patrik On Wed, May 17, 2017 at 6:51 AM, Kunal Ghosh wrote: > Is it because I am running application on single

[akka-user] Emptying a mailbox

2017-05-17 Thread Marc Christoph
Good day Does Akka provide functionality to empty an actor's mailbox? I need all message processing in an actor to immediately stop after receiving a specific message. I have tried something like this: @Override public void onReceive(Object msg) throws Throwable { if (msg instanceof

[akka-user] akka http remote file conf's include reference not getting processed

2017-05-17 Thread Andrew Norman
I have a file named restapi.conf that lives in a remote location outside the jar. It has the following content: include "application" akka { loglevel = "DEBUG" } my application.conf file referenced by the remote file lives inside the jar of my akka-http application. it has the

[akka-user] akka-http ssl setup documentation / examples isn't very clear. Is config-based

2017-05-17 Thread Andrew Norman
The information for setting up akka-http ssl is very cluttered / inaccurate / dated / and referencing mismatched links from other systems (such as Play WS ssl client configurations) which doesn't really tell you how to implement server-side ssl. Every code example I see out there on how to

Re: [akka-user] Akka Cluster Failing for Huge Data File

2017-05-17 Thread Kunal Ghosh
I just had to delete aprox 300 GB of aeron-temp files in c:\Users\admin\AppData\Local\Temp. how to clean up Aeron files ? On Wednesday, May 17, 2017 at 12:46:54 PM UTC+5:30, Patrik Nordwall wrote: > > Performance debugging/tuning is not something I can help with in free OSS > support. We would

Re: [akka-user] Akka Cluster Failing for Huge Data File

2017-05-17 Thread Patrik Nordwall
When you use the embedded media driver (that is the default) the files should be deleted when the actor system is terminated, but not if the process is killed abruptly. On Wed, May 17, 2017 at 12:42 PM, Kunal Ghosh wrote: > I just had to delete aprox 300 GB of aeron-temp

Re: [akka-user] Akka Cluster Failing for Huge Data File

2017-05-17 Thread Kunal Ghosh
Thanks I really appreciate your help !!! When I run my application for 43 rows (2kb) input file it creates 1.14 gb of file in c:\Users\admin\AppData\Local\Temp. When i open up that file in editor apart from other things I see data in it. I think it is due to this writing of data in file the