Re: [akka-user] Akka remoting and Docker

2015-11-15 Thread Heiko Seeberger
Alex, Indeed you are overlooking something: the loopback interface (localhost aka 127.0.0.1) is only for local access, i.e. from the local machine. Why don’t you bind to 0.0.0.0 instead? Cheers Heiko -- Heiko Seeberger Home: heikoseeberger.de Twitter: @hseeberger

Re: [akka-user] Re: I get strange error with 2.0-M1

2015-11-15 Thread Konrad Malawski
Hi all, thanks for trying out the early Milestone and reporting the problem! We believe there is a bug in how the idle timeout was added, not sure if that specific problem is a manifestation of it, but we'll add more tests and fixes for idle timeouts in M2 (coming out soon), please keep an eye

Re: [akka-user] Akka remoting and Docker

2015-11-15 Thread Alex Wouda
Thanks. Also I needed the bind-port and port to be the same. I do not get actually get why yet, but for now my app is working. This config works. akka { actor { provider = "akka.remote.RemoteActorRefProvider" } remote { enabled-transports = ["akka.remote.netty.tcp"]

[akka-user] Akka remoting and Docker

2015-11-15 Thread Alex Wouda
Hi, I'm trying to get a simple app running in docker, this works. But then I'm not able to access the remote akka system from the host. Using scala 2.11.7 and Akka 2.4.0 Whole project is available here: https://github.com/awouda/akka-docker.git My 'server system' configuration: akka {

[akka-user] Re: I get strange error with 2.0-M1

2015-11-15 Thread Richard Grossman
Thanks Is there any impact on serving ? On Sunday, November 15, 2015 at 8:53:05 AM UTC+2, Ryan Brozo wrote: > > I am also getting the exact same error in 2.0-M1. > > I tried some logging using the logRequestResult directive to see which > requests are getting the InternalServerError. But it

[akka-user] Re: microservices multi actor persistence and sharding question.

2015-11-15 Thread sd d
Log --- I am seeing the defEventStoreSupervisorCoordinator and defEventStoreActorCoordinator but these are not storing into the cassandra db and when this microservice recevies the event it tries to register the coordinators dynamically. --- ith configuration settings

[akka-user] 1.3.5 The finer points of stream materialization

2015-11-15 Thread Gary Struthers
2.0 M1 doc "Note: This is not yet implemented as stated here, this document illustrates intent." OK, things will change but how do I bind an object reference to a Flow or PushStage at materialization time in the current implementation? Gary -- >> Read the docs:

[akka-user] Re: Example for change in 2.0-M1 stream

2015-11-15 Thread Tim Harper
As you've probably noticed in the migration documentation, the migration path for GraphStage is not yet documented. http://doc.akka.io/docs/akka-stream-and-http-experimental/2.0-M1/scala/migration-guide-1.0-2.x-scala.html#FlexiMerge_an_FlexiRoute_has_been_replaced_by_GraphStage If I were you,

[akka-user] Re: 1.3.5 The finer points of stream materialization

2015-11-15 Thread Tim Harper
Gary, I might be lacking necessary context; if not, your question seems a little vague. Some of the Source factory methods, such as `actorPublisher` or `actorRef`, yield the instantiated `ActorRef` as the materialized value for the stream. You can use `mapMaterializedValue` to modify the

[akka-user] Re: Akka Stream and Http 2.0-M1 Released!

2015-11-15 Thread Tim Harper
Excellent work!!! On Friday, November 6, 2015 at 6:19:49 AM UTC-7, Martynas Mickevičius wrote: > > *Dear Hakkers* > > we—the Akka committers—are very pleased to announce Akka Streams & HTTP > 2.0-M1, the first milestone of the upcoming 2.0 release. The overarching > theme of this milestone is

[akka-user] Re: Is it possible to use a the stream materialized value to dictate the HTTP response status code?

2015-11-15 Thread Tim Harper
I read enough source code to be able to answer my own question: The stream still isn't materialized at this point, where the StatusCode and headers are already known.

[akka-user] microservices multi actor persistence and sharding question.

2015-11-15 Thread sd d
*Hello,* *Source Code:* https://github.com/sdab75/spring-boot-akka-cluster-sharding *Scenario:* 1. Abc and Def are 2 micro services and they communicates with each other through their respective Async Event Listeners ( these are 2 services are in the same cluster because they

Re: [akka-user] Is it possible to use a the stream materialized value to dictate the HTTP response status code?

2015-11-15 Thread Tim Harper
So sorry about the double post on this one :(. I had an early send and thought if I deleted it in time maybe it wouldn't send. Sent from my iPhone > On Nov 14, 2015, at 12:54, Tim Harper wrote: > > Hi, > > TLDR: I'd like to use the materialized value of a stream to