[akka-user] Re: [akka-http] Java server with https

2015-11-13 Thread André
Hi Ricardo, doesn't look like HttpsContext param is currently surfaced in the java DSL's bindRoute. This should be discussed in a ticket. Cheers André On Thursday, November 12, 2015 at 6:57:38 PM UTC+1, Ricardo Silva wrote: > > Hello, > > is it possible to have a server handling https

Re: [akka-user] akka sharding monitoring

2015-11-13 Thread Rodrigo Boavida
Thanks Patrick. You just saved me a few hours of research :) I wonder if this kind of information would also be available through ConductR? tnks, Rod On Friday, November 13, 2015 at 1:19:21 PM UTC, Patrik Nordwall wrote: > > https://github.com/akka/akka/pull/18543 > > it will be in upcoming

[akka-user] Re: How to configure SBT to run multiple tests

2015-11-13 Thread matheuslima
I put this line in my application.conf testing project akka.remote.netty.tcp.port = 0 Each actor system will bind a diffrent port and will run in parallel. Em sexta-feira, 13 de novembro de 2015 10:58:49 UTC-3, Ian Phillips escreveu: > > I'm after some advice as to best practice when setting up

[akka-user] FlowGraph within Actor

2015-11-13 Thread Gary Struthers
I have a flow graph that needs initialization and post processing. I'd like to do this within an actor. The actor receives a message, the flow graph is initialized, then the message is passed to it, then its result is sent to different actors. I don't see this use case in the docs so I don't

Re: [akka-user] FlowGraph within Actor

2015-11-13 Thread Heiko Seeberger
That’s perfectly possible. Yet you have to be careful to not close over any mutable actor state, e.g. vars, ActorContext, sender(), etc. A good way to avoid that is define the flow graph via a method in the companion object of your actor. Heiko -- Heiko Seeberger Home: heikoseeberger.de

Re: [akka-user] Re: code that will block for some time, part of an actor or should I wrap it inside a Feature?

2015-11-13 Thread Viktor Klang
Given that tehre a lot of methods that use locks in the implementation, do syscalls etc, it eveyrthing looks like sync calls then all callsites could be a potentially blocking operation. :S On Wed, Nov 11, 2015 at 5:15 PM, 'Konstantinos Kougios' via Akka User List < akka-user@googlegroups.com>

Re: [akka-user] Re: Does akka 2.4 persistent actor cluster sharding Supervisor combination works on multi node cluster?

2015-11-13 Thread Patrik Nordwall
It looks like you have found the problem. The persistenceId must be unique, and should include the entity identifier, which you can get from the name of the supervisor actor (which is the entity from the sharding perspective). You could use same name when creating the child, and then the child

Re: [akka-user] Akka persistence query examples

2015-11-13 Thread Patrik Nordwall
On Sun, Nov 8, 2015 at 6:36 PM, Adam Dohnal wrote: > Hello, > > recently I read through new akka-persistence-query-experimental module and > would like to see some tutorials and examples to see how it can work. > Documentation is really abstract for me. Unfortunately, I'm

[akka-user] How to configure SBT to run multiple tests

2015-11-13 Thread Ian Phillips
I'm after some advice as to best practice when setting up multiple (ScalaTest) tests in an Akka project, I'm using a base class like so: class BaseSpec extends TestKit(ActorSystem("application")) with FlatSpecLike with Matchers with ScalaFutures with ImplicitSender with BeforeAndAfterAll {

Re: [akka-user] Sender reference for RandomPool in a cluster

2015-11-13 Thread Patrik Nordwall
That should not be the case. See http://doc.akka.io/docs/akka/2.4.0/scala/routing.html#Senders You don’t happen to use sender() from inside a Future callback or something like that? /Patrik ​ On Wed, Nov 11, 2015 at 10:01 PM, Eugene Dzhurinsky wrote: > Hello! > > I would

Re: [akka-user] ClusterSharding: Trigger Start of ShardCoordinator

2015-11-13 Thread Patrik Nordwall
On Tue, Nov 3, 2015 at 2:14 AM, wrote: > It seems like the ShardCoordinator is started the first time a request is > made to an Entity Actor belonging to the ShardCoordinator. This adds some > latency to the first request made to an Entity Actor managed by the Shard >

Re: [akka-user] akka sharding monitoring

2015-11-13 Thread Patrik Nordwall
https://github.com/akka/akka/pull/18543 it will be in upcoming 2.4.1 /Patrik On Thu, Nov 12, 2015 at 6:15 PM, Rodrigo Boavida wrote: > Brice, > > Thanks for the answer. I will definitely have a look into what the events > could give me and how the strategy could be