[akka-user] Akka Typed and Futures - is there a pipe-to alternative?

2017-08-04 Thread Qux
Hi, I have something like this: Actor.immutable[Msg]((ctx, msg) => msg match { case DoUpdate => val update: Future[Update] = other ? (GetUpdate(_)) Actor.same case Update => //... Actor.same case _ => //... Actor.same } with trait Msg case

Re: [akka-user] Akka and Mesos: Will it blend?

2017-08-04 Thread Dragos Dascalita Haut
FWIW, I'm reviving this thread to share that I've opened a PR with a working example with Mesos in akka-samples [1]. I was excited to see that it's actually quite straight forward to get this working in Mesos, thanks to its Marathon framework, and the APIs facilitating auto-discovery of the

Re: [akka-user] org.apache.spark.SparkException: Task not serializable

2017-08-04 Thread Justin du coeur
I don't know Spark, so I don't know quite what this is trying to do, but Actors typically are not serializable -- you send the ActorRef for the Actor, not the Actor itself. I'm not sure it even makes any sense semantically to try to serialize and send an Actor... On Thu, Aug 3, 2017 at 11:49 PM,

[akka-user] Akka event bus with typed actor Ask Question

2017-08-04 Thread Politrons
I´m looking in google without success. Anybody knows if it´s possible use Akka Event bus to subscribe and send events to typed actors?. And if you wonder, yes typed actors are mandatory :( Regards. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: