[akka-user] If first seed node start failed, the whole cluster will start failed

2016-08-03 Thread Yutao Shuai
In a 3-node cluster, all of nodes are seed nodes, if first node start failed, the whole cluster can't start successful. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >>

Re: [akka-user] Akka Cluster (with Sharding) not working without auto-down-unreachable-after

2016-08-03 Thread Justin du coeur
The keyword here is "auto". Autodowning is an *incredibly braindead* algorithm for dealing with nodes coming out of service, and if you use it in production you more or less guarantee disaster, because that algorithm can't cope with cluster partition. You *do* need to deal with downing, but you

[akka-user] Akka Cluster (with Sharding) not working without auto-down-unreachable-after

2016-08-03 Thread Eric Swenson
We have an akka-cluster/sharding application deployed an AWS/ECS, where each instance of the application is a Docker container. An ECS service launches N instances of the application based on configuration data. It is not possible to know, for certain, the IP addresses of the cluster members.

Re: [akka-user] Re: [ANNOUNCE] Akka 2.4.9-RC1 Released! (Akka HTTP Performance and Entity Streaming)

2016-08-03 Thread Konrad Malawski
Hi Jason, sadly the sbt-osgi plugin did something rather silly (I went in and fixed the plugin today) breaking the release if Java Marshallers are used. See here for details and workaround: https://github.com/akka/akka/issues/21105 Thanks for trying out the release candidate and thanks for your

[akka-user] Re: [ANNOUNCE] Akka 2.4.9-RC1 Released! (Akka HTTP Performance and Entity Streaming)

2016-08-03 Thread Jason B
Got this error after upgrading Akka versions in sbt build file from 2.4.8 to 2.4.9-RC1, and attempting to integrate JSON Streaming functionality. I'm not using javadsl in any capacity. Seems related to the migration note on javadsl, but I am only using scaladsl in my code. An issue with the

[akka-user] Re: [ANNOUNCE] Akka 2.4.9-RC1 Released! (Akka HTTP Performance and Entity Streaming)

2016-08-03 Thread Jim Hazen
Some quick feedback on raw iron performance, on my local workstation. Your mileage my vary, but I'm pretty happy with these numbers. Minimal example Webserver code from: http://doc.akka.io/docs/akka/2.4/scala/http/routing-dsl/index.html wrk -d30 -c100 -t12 http://localhost:8080/hello Running

[akka-user] No configuration setting found for key 'akka.version' when running jar-with-dependencies

2016-08-03 Thread Dean Schulze
I've added the maven-shade-plugin from the Akka docs to my pom.xml, and it is the first plugin in . The shade plugin is doing something as evidenced by this in my maven by this output in my maven build [INFO] ---

Re: [akka-user] Retry only has meaning for restart in SuperVisorStragety?

2016-08-03 Thread Yan Pei
Johan, Thank you! If the exception caused by external Server, both actor state and message are good, we can also retry the message when choosing resume. I have a question about RESTART, will RESTART start the Actor and resend the failed message again? Does the MailBox of the Actor

Re: [akka-user] Question about how to use PeekMailBox

2016-08-03 Thread Yan Pei
Hi Johan, Thank you very much for your suggestions. The supervisor strategy has options of stop/resume/escalate/restart, I didn't figure out how to resend the failed message via supervisor strategy. The sender is in sending and forgot mode and no confirmation for sender since it's batch

[akka-user] How to deal with "connection pool shut down unexpectedly" ?

2016-08-03 Thread Guofeng Zhang
Hi, I want to capture this exception in my application, but It cannot be capturued using CompletionStage.exceptionally(). How could I do capture it? The follwing is the code: final HttpRequest request = HttpRequest.create(uri).addHeader(range) ; final CompletionStage

Re: [akka-user] Unable to receive UDP packets after restarting network interface

2016-08-03 Thread Endre Varga
Hi, I am not sure what Akka can do about this. We just use the NIO interfaces from the JDK. If we didn't report an error then likely we didn't get one from Java in the first place. I might be wrong of course but I don't really know what we could do here. -Endre On Wed, Aug 3, 2016 at 2:46 PM,

[akka-user] Unable to receive UDP packets after restarting network interface

2016-08-03 Thread BlueZL
Hi all, After binding to an UDP port, my own UDP actor has been able to send/receive UDP packets without issues until one day we restarted the network interface "service network restart". After that the UDP actor stopped getting UDP packets without receiving any failure/exception messages. I

[akka-user] Re: RoundRobinPool with remote routees

2016-08-03 Thread Gabor Kolok
Problem was that ActorSystem was not remote-enabled, because ConfigFactory.load silently fallback to empty config if config resource name is wrong. Gabor 2016. augusztus 2., kedd 21:00:31 UTC+2 időpontban Gabor Kolok a következőt írta: > > Hi, > > I am creating a router with the following

[akka-user] Event sourcing user database with akka persistence and sharding

2016-08-03 Thread 'Christian Hoffmeister' via Akka User List
Hi folks, I am just starting with event sourcing and still struggle to get domain problems solved. Maybe a user database is not a good fit for ES, dunno :) What do I want to achieve: * Users can be created (having an immutable UUID and an email which is used as username) * Email can be