Re: [akka-user] About akka websocket support

2016-06-07 Thread Leo Wolf
Hi Johan, Thanks for the reply. In the user register scheme, I will create user account according different email address, and user who want to connect to the websocket server should use these created account. Another to say, every user has their own account to connect server. After a user con

Re: [akka-user] Newbie question about storing ActorRef in a member variable

2016-06-07 Thread Justin du coeur
Cool -- yeah, I suspected something of the sort had to be the case. Good luck... On Tue, Jun 7, 2016 at 6:05 PM, kraythe wrote: > First of all, thanks for the reply! > > I am trying to do a fair bit of work to glue an actor system to a > non-actor system and that is the problem here. Sure, it w

Re: [akka-user] Newbie question about storing ActorRef in a member variable

2016-06-07 Thread kraythe
First of all, thanks for the reply! I am trying to do a fair bit of work to glue an actor system to a non-actor system and that is the problem here. Sure, it would be nice if the whole system was Akka. However, it isn't Akka at all and I am trying to wedge Akka into the tech stack and prove ROI

[akka-user] two-way on websocket

2016-06-07 Thread Marcelo Alves
Hello, I would like to configure my websocket client connection to work on 2-way communication, but I have problems with that. My code : Sink and Source flow creation: def myFlow(): Flow[String, SlackMessageStreamPacket, Any] = { val in = Flow[String] .map(SlackMessageStreamPacket(_))

Re: [akka-user] Newbie question about storing ActorRef in a member variable

2016-06-07 Thread Justin du coeur
Actually, again, this is very *un*common code -- all those statics are awfully surprising. Question: how much are you gluing Actors onto very non-Actor code? That's the only way I can interpret what you're doing here, and it's a bit unusual in my experience -- Akka tends to be pretty pervasive, s

[akka-user] Newbie question about storing ActorRef in a member variable

2016-06-07 Thread kraythe
I am currently adding Akka to our existing system that currently does distributed programming with Executors in Hazelcast. Obviously he executor system is not scaling so I am currently working on how to convert it to an actor system. The temptation I have is to do the code below for my scoring

[akka-user] Best practice to combine akka-http and akka-stream flows

2016-06-07 Thread Ivan Morozov
Hi @ all This question is a duplication of this http://stackoverflow.com/questions/37659421/what-is-the-best-way-to-combine-akka-http-flow-in-a-scala-stream-flow stack overflow questions. I would like to speak about best practices to combine akka-stream and akka-http flows. Ivan -- >