Re: [akka-user] Website Correction / http://akka.io/docs/

2016-11-07 Thread Gavin Baumanis
I would have happily created a PR but i couldnt find the documentation in the github repo. If you wouldn't mind pointing me in the right direction I will gladly contribute to doc corrections as I find issues/ have suggestions. On 7 Nov 2016 3:56 PM, "Konrad Malawski"

[akka-user] [akka-http] compiler issues with routing dsl when trying to abstract REST operations

2016-11-07 Thread Chad Selph
I'm working on a small layer powered by akka-http routing DSL to sort of enforce all the RESTful APIs have the same structure. Implementation should just have to define the URL the work on, then the create/read/update/delete/etc. My idea was to pass the PathMatcher into the constructor, and

Re: [akka-user] Management tools for akka-cluster

2016-11-07 Thread Patrik Nordwall
On Fri, Nov 4, 2016 at 11:53 AM, Javier Ferrer González < javier.mailse...@gmail.com> wrote: > Hi Patrik, > > 2 doubts: > > 1. As far as I understood by the Akka Cluster documentation about downing > , and > your comments, the

Re: [akka-user] How can I check that MemberUp(m:Member) does not equal self actor?

2016-11-07 Thread Akka Team
Hi, Cluster.selfAddress will give you the address of the actor system, and then you can compare it to Member.address -- Johan Akka Team On Mon, Nov 7, 2016 at 6:18 AM, Unknown Unknown wrote: > There is the following actor which belongs to cluster and is subscribed to >

Re: [akka-user] Logging only from actors

2016-11-07 Thread Patrik Nordwall
I'd recommend to use the Akka Slf4jLogger and then configure the fine grained log levels in the backend (e.g. logback). http://doc.akka.io/docs/akka/2.4/java/logging.html#SLF4J Regards, Patrik On Thu, Nov 3, 2016 at 1:37 PM, Andrea Ferretti wrote: > Hi, I have an

[akka-user] How can I check that MemberUp(m:Member) does not equal self actor?

2016-11-07 Thread Unknown Unknown
There is the following actor which belongs to cluster and is subscribed to cluster events: class Worker extends Actor { val cluster = Cluster(context.system) var router = Router(BroadcastRoutingLogic(), Vector.empty[ ActorRefRoutee]) override def preStart(): Unit =

[akka-user] Tcp writeFile problem,The Server cannot received any data. ErrorClosed(Connection reset by peer)

2016-11-07 Thread szpssky
Hi, everyone: The ClientActor want to use Tcp.Write send a file to the ServerActor, but the server cannot received the data.I use the debug to watch the received message, the ServerActor receive message is "ErrorClosed(Connection reset by peer)".So How to solve this problem? Can