Re: [akka-user] Re: akka http remote file conf's include reference not getting processed

2017-05-19 Thread Brian Smith
Hi I think that's a fairly normal way to use typesafe config - I'm doing similar and it seems to work for me. I'd suggest turning on akka.log-config-on-start in your restapi.conf or also specifying -Dconfig.trace=loads to see what it's doing at startup. Perhaps it has found another application.c

Re: [akka-user] Akka Persistence and replaying of all events

2017-07-26 Thread Brian Smith
Hi Leonti 1. It will start an actor for a user on demand, based on you doing something like context.actorOf(Props(classOf[UserActor], userId), s"user-$userId"). The actor will replay all of its events unless you've implemented it to take snapshot offers. You could eagerly start all actors if yo

Re: [akka-user] ask pattern with optional replyTo in message

2017-08-09 Thread Brian Smith
Hi Reto Not an expert but I'm not sure about the motivation here. What's wrong with the client deciding to use ask or tell based on whether it wants a response or not (and communicating that preference to the actor using the replyTo pattern you've identified)? What do you gain by making the choi

Re: [akka-user] ask pattern with optional replyTo in message

2017-08-09 Thread Brian Smith
on that would probably work more > cleanly would be to have two distinct message types based on whether the > user wants a response or not. Then I could still use tell and ask. The > processing actor would determine based on the type of the message whether a > response is desired. > > T