[akka-user] Coordinated Shutdown

2017-12-18 Thread Heiko Seeberger
. doesn’t wait until the respective Future[Done] has completed. Instead all kinds of cluster related shutdown activities are started immediately. So, am I missing something or shouldn’t cluster related shutdown activities wait for the unbind task to complete? Thanks Heiko -- Heiko Seeberger

Re: [akka-user] Coordinated Shutdown

2017-12-19 Thread Heiko Seeberger
That’s not the issue, shutdown progresses without noticeable delay (much less than a second). I’ll investigate further … -- Heiko Seeberger Home: heikoseeberger.de Twitter: @hseeberger Public key: keybase.io/hseeberger > Am 19.12.2017 um 10:32 schrieb Patrik Nordwall : > > Sound

Re: [akka-user] Supporting transient states using Akka FSM

2017-12-22 Thread Heiko Seeberger
Hmm … ain’t is possible to goto(C) when in state A? Instead of going to the transient B. -- Heiko Seeberger Home: heikoseeberger.de Twitter: @hseeberger Public key: keybase.io/hseeberger > Am 22.12.2017 um 09:15 schrieb Christopher Hunt : > > Hey there, > > I've re

[akka-user] Akka HTTP: How to find out that there is no Content-Type header?

2018-02-24 Thread Heiko Seeberger
sync with the HTTP spec (7.2.1). Is there a way to see that the raw request did not contain the Content-Type header? Thanks Heiko -- Heiko Seeberger Home: heikoseeberger.de Twitter: @hseeberger Public key: keybase.io/hseeberger -- >>>>>>>>>>

Re: [akka-user] Akka HTTP: How to find out that there is no Content-Type header?

2018-03-01 Thread Heiko Seeberger
Nobody? > Am 24.02.2018 um 19:12 schrieb Heiko Seeberger : > > Hey, Akka HTTP experts, > > Akka HTTP treats the Content-Type header in a special way (seemingly > according to the spedification). In particular if the request contains > neither a Content-Type header nor

Re: [akka-user] import context.dispatcher nullpointerexception

2018-03-07 Thread Heiko Seeberger
nsafe? Reflection? Cheers Heiko -- Heiko Seeberger Home: heikoseeberger.de Twitter: @hseeberger Public key: keybase.io/hseeberger > Am 07.03.2018 um 19:23 schrieb Patrik Nordwall : > > Thanks! > > On Wed, Mar 7, 2018 at 6:16 PM, Jeff <mailto:jknight12...@gmail.com&g

[akka-user][deprecated] Re: [akka-user] Akka HTTP: How to find out that there is no Content-Type header?

2018-03-15 Thread Heiko Seeberger
t; recursive call in HttpMessageParser::parseHeaderLines to pass "headers += h" > for the Content-Type case, then you have access to the interpreted header > through httpRequest.entity.contentType and to the raw header via > httpRequest.headers. > > Urs > > On Thu

Re: [akka-user] Using stash with become

2014-08-19 Thread Heiko Seeberger
Luis, As an actor only handles one message at a time, the order of `unstashAll` and `context.become` doesn't matter at all: Both happen while processing the current message which means that no other message gets processed until both methods (and the rest of the current behavior) have been execu

Re: [akka-user] Testing parent/child behaviors

2014-08-20 Thread Heiko Seeberger
Tom, Why don't you use a protected factory method (`def createChild: ActorRef = ...`) in the parent to create your child actor instead of doing it inline? Then override it the way you want in the tests. Sometimes good old OO (I know that Alan Kay not necessarily meant inheritance when inventing

Re: [akka-user] Multiple ActorSystems ('weight', uses, etc?)

2014-08-21 Thread Heiko Seeberger
Glenn, Find my answers below. Heiko On 22 Aug 2014, at 05:03, Glenn / devalias wrote: > Heya, > > So, most/pretty much everything I read says ActorSystems are heavyweight, and > you should only use one unless you have a 'really good reason' to use more > than one since they are 'heavy'. Wh

Re: [akka-user] Actor system unexpected slow down at load?

2014-08-23 Thread Heiko Seeberger
While this is sort of speculative, it looks like you have introduced a bottleneck. Maybe you can use a router for your main actor, resulting in parallelizing entry work (assuming you have multiple cores and enough threads)? Heiko On 23 Aug 2014, at 02:37, Paul Cleary wrote: > I have an actor

Re: [akka-user] ClusterRouter routees paths resolving

2014-08-25 Thread Heiko Seeberger
Amit, As a pool router is the parent of the routees it creates, you could simply use `context.parent` from within a routee to get the router. Then you could use the `Broadcast` envelope to send a message from one routee to all others. Of course you can then use the sender reference to talk to t

Re: [akka-user] Simplest possible setup wich allows system restart of individual nodes

2014-11-14 Thread Heiko Seeberger
Another link that might help understand how to use Akka Cluster Sharding: https://github.com/hseeberger/reactive-flows/commit/e0fe29434592e591b8579b43c6c082ad6137e44c Heiko > On 14 Nov 2014, at 12:03

Re: [akka-user] Deprecation of PoisonPill

2015-01-21 Thread Heiko Seeberger
(not every actor needs to process its current mailbox, other shutdown-algorithms are possible) depending on the specific purposes of the actor. Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger>

Re: [akka-user] Deprecation of PoisonPill

2015-02-05 Thread Heiko Seeberger
Sebastiaan, To my knowledge PoisonPill will be "phased out", see also Martynas' response: "...was not reintroduced in the new akka-typed module". Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://

Re: [akka-user] way to get ActorContext from ActorSystem?

2015-02-19 Thread Heiko Seeberger
What about using an ActorRefFactory? -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger> > On 19 Feb 2015, at 17:49, Sam Halliday wrote

[akka-user] Unpersist a processor

2014-03-23 Thread Heiko Seeberger
Hi, Is it possible to remove a processor from the journal, so its id can be reused as a fresh processor later? Thanks Heiko -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >>

Re: [akka-user] Unpersist a processor

2014-03-24 Thread Heiko Seeberger
ht complicate reasoning about the system's state at "some point in time"… > > > -- > Konrad Malawski > geecon.org / java.pl / krakowscala.pl / gdgkrakow.pl > > From: Heiko Seeberger heiko.seeber...@gmail.com > Reply: akka-user@googlegroups.com akka-user@googleg

[akka-user] Re: [akka-dev] Akka 2.3.1 Released

2014-03-25 Thread Heiko Seeberger
/group/akka-user > > Akka is released under the Apache V2 license. > > *Happy hAkking!* > > > -- > Akka Team > Typesafe - The software stack for applications that scale > Blog: letitcrash.com > Twitter: @akkateam > > -- > You received this message because you

Re: [akka-user] How can I find the actor context from a deep method call?

2014-03-26 Thread Heiko Seeberger
the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://

Re: [akka-user] How can I find the actor context from a deep method call?

2014-03-26 Thread Heiko Seeberger
ssage. So this isn't from a method in the > actor, it's from a method in a class that doesn't even know about the Actor > trait. > > > Martin > > Le mercredi 26 mars 2014 14:42:29 UTC+1, Heiko Seeberger a écrit : >> >> Martin, >> >> You ca

Re: [akka-user] What happens to child actors on supervisor restart?

2014-03-27 Thread Heiko Seeberger
p and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. >

Re: [akka-user] Operation based of the contents of a number of other actors

2014-03-30 Thread Heiko Seeberger
group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options,

Re: [akka-user] Operation based of the contents of a number of other actors

2014-03-31 Thread Heiko Seeberger
ther actors, so they can perform more work in parallel? Heiko > > Thanks, > Allan. > > > > On Monday, March 31, 2014 5:46:02 PM UTC+11, Heiko Seeberger wrote: > >> You are right. Welcome to the asynchronous world ;-) Actually, unless you >> watch those other actors

Re: [akka-user] Tutorial on how to get started with Scala and Akka

2014-03-31 Thread Heiko Seeberger
ed this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.

Re: [akka-user] Tutorial on how to get started with Scala and Akka

2014-03-31 Thread Heiko Seeberger
anks in advance! > > > On Mon, Mar 31, 2014 at 9:57 AM, Heiko Seeberger < > heiko.seeber...@gmail.com> wrote: > >> Nice! Thanks for putting it together. >> >> Some comments: >> >>- Don't ever block inside an actor: Don't use `Thread.s

Re: [akka-user] Tutorial on how to get started with Scala and Akka

2014-03-31 Thread Heiko Seeberger
better use case objects instead of string) in the behavior. Heiko > > Thanks again, > > On Monday, March 31, 2014 8:57:14 AM UTC-4, Heiko Seeberger wrote: > >> Nice! Thanks for putting it together. >> >> Some comments: >> >>- Don't ever block insid

Re: [akka-user] Operation based of the contents of a number of other actors

2014-03-31 Thread Heiko Seeberger
but these must be immutable). Don't break it! Heiko On Tue, Apr 1, 2014 at 12:27 AM, Allan wrote: > > > On Monday, March 31, 2014 11:48:29 PM UTC+11, Heiko Seeberger wrote: > >> On Mon, Mar 31, 2014 at 12:33 PM, Allan wrote: >> >>> Thanks for the quick

Re: [akka-user] order of shutdown

2014-03-31 Thread Heiko Seeberger
m. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Heiko Seeberger Twitter: @hseeberger Blog: blog.heikoseeberger.name -- >>>>>>

Re: [akka-user] Debugging a complex messaging system

2014-04-04 Thread Heiko Seeberger
t; You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group

Re: [akka-user] EventBus and Cluster

2014-04-07 Thread Heiko Seeberger
e you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. &g

Re: [akka-user] actorSelection.resolveOne - does it retry?

2014-04-07 Thread Heiko Seeberger
se you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit th

Re: [akka-user] Can one actor exists in two paths at once?

2014-04-09 Thread Heiko Seeberger
bed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group a

[akka-user] Re: [akka-dev] Akka 2.3.2 Released

2014-04-09 Thread Heiko Seeberger
gt; June 16th-18th, <http://www.scaladays.org/> > Berlin <http://www.scaladays.org/> > > -- > You received this message because you are subscribed to the Google Groups > "Akka Developer List" group. > To unsubscribe from this group and stop receiving emails

Re: [akka-user] scala.collection.immutable.Seq

2014-04-09 Thread Heiko Seeberger
com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Heiko Seeberger Twitter: @hseeberger Blog: blog.heikoseeberger.name -- >>

Re: [akka-user] Can one actor exists in two paths at once?

2014-04-09 Thread Heiko Seeberger
t transfer the calls across the JVM; or maybe some other way with > ActorSelection that I cannot think of right now) > > Thanks, > Chanan > > On Wednesday, April 9, 2014 9:38:14 AM UTC-4, Heiko Seeberger wrote: > >> No, an actor has exactly one unique actor path. >> >&

Re: [akka-user] Using ActorSelection to check if actor exists

2014-04-10 Thread Heiko Seeberger
opt_out. >>> >> >> >> >> -- >> >> Patrik Nordwall >> Typesafe <http://typesafe.com/> - Reactive apps on the JVM >> Twitter: @patriknw >> >> -- > >>>>>>>>>> Read the docs: http://akk

Re: [akka-user] Identify on (not matching) wildcard actor selection - No response

2014-04-10 Thread Heiko Seeberger
roup, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Heiko Seeberger Twitter: @hseeberger Blog: blog.heikoseeberger.name -- >>>>>>>>&

Re: [akka-user] Identify on (not matching) wildcard actor selection - No response

2014-04-10 Thread Heiko Seeberger
one)? The wildcard can > potentially traverse remote nodes. > > /Patrik > > > On Thu, Apr 10, 2014 at 10:58 AM, chris wrote: > >> Thanks! >> >> >> On Thursday, April 10, 2014 10:39:45 AM UTC+2, Heiko Seeberger wrote: >> >>> Hi, >>> &g

Re: [akka-user] Is there some way to save sender reference in a list when use remote akka?

2014-04-11 Thread Heiko Seeberger
-- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to

Re: [akka-user] Is there a way to restart an actor?

2014-04-22 Thread Heiko Seeberger
To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https:

Re: [akka-user] Is there a way to restart an actor?

2014-04-22 Thread Heiko Seeberger
received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegrou

Re: [akka-user] Initialize global variable during actor initialization?

2014-04-25 Thread Heiko Seeberger
kka.io/docs/akka/ >>>> current/additional/faq.html >>>> >>>>>>>>>> Search the archives: https://groups.google.com/ >>>> group/akka-user >>>> --- >>>> You received this message because you are subscribed t

Re: [akka-user] remote address of an actor

2014-04-29 Thread Heiko Seeberger
se you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > V

Re: [akka-user] Membership in multiple clusters?

2014-05-01 Thread Heiko Seeberger
roups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.googl

[akka-user] How can the sender know that a message has been delivered (confirmed) by a channel?

2014-05-02 Thread Heiko Seeberger
confirmed? AFAIK there's no deliverSuccessListener or such. Thanks Heiko -- Heiko Seeberger Twitter: @hseeberger Blog: blog.heikoseeberger.name -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check th

Re: [akka-user] Re: Starting an FSM in a cluster

2014-05-04 Thread Heiko Seeberger
tuff in a > message. > ``` class MyActor(myParameter: String) extends Actor with FSM { ... } context.actorOf(Props(new MyActor("myArgument"))) ``` Does that make sense? Heiko > > Thank you for the explanation! > > -- > Eugene N Dzhurinsky &

Re: [akka-user] How can the sender know that a message has been delivered (confirmed) by a channel?

2014-05-04 Thread Heiko Seeberger
On Sun, May 4, 2014 at 9:55 AM, Martin Krasser wrote: > Hi Heiko, > > > On 03.05.14 06:58, Heiko Seeberger wrote: > > Hi, > > A short-lived actor A should send a "result" message to some other actor > B before it terminates itself. As it is important that t

Re: [akka-user] How can the sender know that a message has been delivered (confirmed) by a channel?

2014-05-04 Thread Heiko Seeberger
reply is sent > to the sender of the Persistent message. This would also allow for some > internal optimizations. > > > On 04.05.14 10:18, Martin Krasser wrote: > > > On 04.05.14 10:07, Heiko Seeberger wrote: > > On Sun, May 4, 2014 at 9:55 AM, Martin Krasser wrote: >

Re: [akka-user] How can the sender know that a message has been delivered (confirmed) by a channel?

2014-05-04 Thread Heiko Seeberger
Maybe yes. Heiko On Sun, May 4, 2014 at 12:57 PM, Martin Krasser wrote: > > On 04.05.14 11:00, Heiko Seeberger wrote: > > Not all communication follows the request-response pattern. In my case > there's no need for an application level response, its only purpose is

Re: [akka-user] Re: Starting an FSM in a cluster

2014-05-05 Thread Heiko Seeberger
On Sun, May 4, 2014 at 6:23 PM, Eugene Dzhurinsky wrote: > On Sun, May 04, 2014 at 09:46:50AM +0200, Heiko Seeberger wrote: > > class MyActor(myParameter: String) extends Actor with FSM { ... } > > > > context.actorOf(Props(new MyActor("myArgument"))) > > As

Re: [akka-user] How can the sender know that a message has been delivered (confirmed) by a channel?

2014-05-05 Thread Heiko Seeberger
On the other hand, an application level ACK is an additional message that might get lost ... Heiko On Sun, May 4, 2014 at 8:06 PM, Heiko Seeberger wrote: > Maybe yes. > > Heiko > > > On Sun, May 4, 2014 at 12:57 PM, Martin Krasser > wrote: > >> >> On 0

Re: [akka-user] How can the sender know that a message has been delivered (confirmed) by a channel?

2014-05-05 Thread Heiko Seeberger
Of course, but if the channel-internal ACK has already arrived, why should we require another application-level one that might get lost? Heiko On Mon, May 5, 2014 at 4:25 PM, Martin Krasser wrote: > > On 05.05.14 14:59, Heiko Seeberger wrote: > > On the other hand, an application

Re: [akka-user] About actor creation

2014-05-07 Thread Heiko Seeberger
receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Heik

Re: [akka-user] Cluster sharding API

2014-05-09 Thread Heiko Seeberger
ause you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to akka-user+unsubscr...@googlegroups.com. >> To post to this group, send email to akka-user@googlegroups.com.

Re: [akka-user] Re: [akka-persistence] Are there any examples around of testing Eventsourced Processors, etc?

2014-05-11 Thread Heiko Seeberger
nd stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/opto

Re: [akka-user] Terminate actor on any error

2014-05-13 Thread Heiko Seeberger
because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegr

Re: [akka-user] Setting dispatcher for actor system

2014-05-14 Thread Heiko Seeberger
an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Heiko Seeberger Twitter: @

Re: [akka-user] Does akka-persistence demand incorruptible actor state?

2014-05-14 Thread Heiko Seeberger
m this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.g

Re: [akka-user] Remote deploy of set of actors in cluster with consistent-hashing-pool

2014-05-14 Thread Heiko Seeberger
router should be started upon cluster startup, am I wrong? > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html >

Re: [akka-user] Remote deploy of set of actors in cluster with consistent-hashing-pool

2014-05-15 Thread Heiko Seeberger
43 PM, Eugene Dzhurinsky wrote: > On Thu, May 15, 2014 at 08:19:14AM +0200, Heiko Seeberger wrote: > > The router doesn't get started automagically, you need to create it using > > actorOf. > > Do I need to start the actor on all nodes? As far as I understood, the > actor

Re: [akka-user] Remote deploy of set of actors in cluster with consistent-hashing-pool

2014-05-15 Thread Heiko Seeberger
PM, Eugene Dzhurinsky wrote: > On Thu, May 15, 2014 at 05:58:32PM +0200, Heiko Seeberger wrote: > > Taking a closer look at your configuration, I see that you are using a > pool > > router, but also configure routees.paths. That won't work as expected: > Pool > >

Re: [akka-user] Remote deploy of set of actors in cluster with consistent-hashing-pool

2014-05-15 Thread Heiko Seeberger
On Thu, May 15, 2014 at 6:17 PM, Eugene Dzhurinsky wrote: > On Thu, May 15, 2014 at 06:11:21PM +0200, Heiko Seeberger wrote: > > Yep, start the router on the "chunk" node. Pay attention to the path in > the > > configuration file, it must match the semi-absolute (witho

Re: [akka-user] Get reference to parent actor from childred actors, deployed to the cluster via router

2014-05-16 Thread Heiko Seeberger
t;>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an

Re: [akka-user] Why akka-remote uses netty over akka-tcp for transportation?

2014-05-16 Thread Heiko Seeberger
m this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optou

Re: [akka-user] Active restore ClusterShard

2014-05-16 Thread Heiko Seeberger
;>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Goog

Re: [akka-user] Akka FSM 2.3.2, "abstract override" and receive method?

2014-05-18 Thread Heiko Seeberger
ser List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more op

[akka-user] Immutable messages with collections

2014-05-20 Thread Heiko Seeberger
Akka users, How do those of you who are using Akka with Java write immutable message classes with collections? Thanks Heiko -- Heiko Seeberger Twitter: @hseeberger Blog: blog.heikoseeberger.name -- >>>>>>>>>> Read the docs: http://akka.io/docs/

Re: [akka-user] How can the sender know that a message has been delivered (confirmed) by a channel?

2014-05-20 Thread Heiko Seeberger
archives: https://groups.google.com/ >>> group/akka-user >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Akka User List" group. >>> To unsubscribe from this group and stop receiving emails from it, s

Re: [akka-user] using promise inside an actor is wrong?

2014-05-21 Thread Heiko Seeberger
/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, s

Re: [akka-user] Distributed workers question

2014-05-27 Thread Heiko Seeberger
send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Heiko Seeberger Twitter: @hseeb

Re: [akka-user] Using Akka Micro kernel for a standalone scheduler

2014-05-28 Thread Heiko Seeberger
; To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options

Re: [akka-user] Is ask an anti-pattern in akka actors?

2014-05-28 Thread Heiko Seeberger
q.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop r

Re: [akka-user] Is ask an anti-pattern in akka actors?

2014-05-28 Thread Heiko Seeberger
endency on the actor system hierarchy.​ > > Any thoughts on that? Thanks. > > On 28 May 2014 14:41, Heiko Seeberger wrote: > Then your problem is not related to the ask pattern, but using > `ActorSelection` instead of `ActorRef`. > > > > > --

Re: [akka-user] Distributed workers question

2014-05-28 Thread Heiko Seeberger
advantage. Heiko > Thanks again for any ideas. > > --Eric > > On Tuesday, May 27, 2014 11:16:30 PM UTC-6, Heiko Seeberger wrote: > Eric, > > In your approach, the master is pushing work towards the workers whereas in > the other approach the workers are pulling wor

Re: [akka-user] Is ask an anti-pattern in akka actors?

2014-05-28 Thread Heiko Seeberger
results in DeadLetter sporadically > > > On Wednesday, May 28, 2014 5:28:43 PM UTC+2, Heiko Seeberger wrote: > Actor selection essentially is look up and we all know that look up should > not be overused. It has it’s purpose though, e.g. when you want to connect to > a remote s

Re: [akka-user] Distributed workers question

2014-05-28 Thread Heiko Seeberger
rsistence or other means. What I tried to say was that the pull approach alone doesn't result in better fault-tolerance. Heiko > cheers, Martin > > Am 28.05.2014 17:31 schrieb "Heiko Seeberger" : > On 28 May 2014, at 16:17, Eric Nelson wrote: > >> Heiko,

Re: [akka-user] How to terminate router after its childs complete their work....

2014-06-20 Thread Heiko Seeberger
om/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To po

Re: [akka-user] [design] Use actorSelection or pass actorRef as parameter

2014-06-22 Thread Heiko Seeberger
>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > ema

Re: [akka-user] Git tutorial links not working

2014-06-22 Thread Heiko Seeberger
> --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send ema

Re: [akka-user] Immutable Messages and the Java Memory Model

2014-06-22 Thread Heiko Seeberger
Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-u

Re: [akka-user] Scheduling using ActorSelection

2014-07-07 Thread Heiko Seeberger
/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post

Re: [akka-user] Scheduling using ActorSelection

2014-07-07 Thread Heiko Seeberger
ent actor incarnations (incarnation lifecycle ends when the actor is stopped, but not when restarted) over time. Heiko -- Heiko Seeberger Twitter: @hseeberger Web: heikoseeberger.de -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>

Re: [akka-user] Kafka journal

2014-07-14 Thread Heiko Seeberger
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop r

Re: [akka-user] Cluster aware router - get the host name for routees

2014-07-19 Thread Heiko Seeberger
group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options,

[akka-user] HTTP/2

2015-06-18 Thread Heiko Seeberger
Akka team, Are there plans to add support for HTTP/2 to Akka HTTP anytime soon? Thanks Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybas

Re: [akka-user] Writing custom directives and encapsualting routes in akka-http

2015-06-19 Thread Heiko Seeberger
/de/heikoseeberger/reactiveflows/HttpService.scala#L51> Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger> > On 20 Jun 2015, at 04:11, Nic

Re: [akka-user] How to send JSON object to actor using akka-http? (Java API)

2015-06-22 Thread Heiko Seeberger
Here you are: https://github.com/hseeberger/reactive-flows/blob/master/src/main/scala/de/heikoseeberger/reactiveflows/HttpService.scala#L79 <https://github.com/hseeberger/reactive-flows/blob/master/src/main/scala/de/heikoseeberger/reactiveflows/HttpService.scala#L79> Cheers Heiko --

Re: [akka-user] Akka Remoting Separate JVMs: Restarting ChildActor when JVM crashed?

2015-06-22 Thread Heiko Seeberger
helps. Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger> -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/&

Re: [akka-user] Akka Remoting Separate JVMs: Restarting ChildActor when JVM crashed?

2015-06-22 Thread Heiko Seeberger
you might not have to handle that yourself ... Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger> > On 22 Jun 2015, at 21:24, Har

Re: [akka-user] How can the sender Actor be notified that the message handling cluster node crashed ?

2015-06-24 Thread Heiko Seeberger
;-) Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger> > On 24 Jun 2015, at 13:35, john.vie...@gmail.com wrote: > > I am using

[akka-user] Custom HTTP headers?

2015-06-27 Thread Heiko Seeberger
Hi, How can I define custom HTTP headers, e.g. Last-Event-ID for SSE? Thanks Heiko -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives: https://groups.googl

Re: [akka-user] Custom HTTP headers?

2015-06-27 Thread Heiko Seeberger
Thanks, but have seen this one, I was not looking for something raw, but deliciously cooked, i.e. looking like a built-in header. Cheers Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key

Re: [akka-user] How to register a custom mediatype in akka-http?

2015-06-28 Thread Heiko Seeberger
https://github.com/hseeberger/akka-sse/blob/master/akka-sse/src/main/scala/de/heikoseeberger/akkasse/MediaTypes.scala#L30 <https://github.com/hseeberger/akka-sse/blob/master/akka-sse/src/main/scala/de/heikoseeberger/akkasse/MediaTypes.scala#L30> -- Heiko Seeberger Home: heikoseeberger.de

Re: [akka-user] Parallel operation on list using future

2015-07-13 Thread Heiko Seeberger
This is an interesting question, but I don’t think it's closely related to Akka. Maybe you want to take a look at ScalaBlitz (http://scala-blitz.github.io/) for some inspiration and potentially ask your question there. Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeb

Re: [akka-user] Implicit value issue for FromRequestUnmarshaller in akka-http with spray-json

2015-07-23 Thread Heiko Seeberger
Do you have an implicit Materializer in scope? Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger> > On 23 Jul 2015, at 15:2

Re: [akka-user] Implicit value issue for FromRequestUnmarshaller in akka-http with spray-json

2015-07-23 Thread Heiko Seeberger
Can you put the code up on GitHub or such? Else it’s pure speculation. Wrt speculation: Depending on what you are doing you might also need an implicit ExecutionContext. Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://tw

Re: [akka-user] Remote Actor Starting locally

2015-07-23 Thread Heiko Seeberger
The path of the actor in the config must match the path of the actor in the actor system, i.e. /connectorActor instead of /connectorActor/processingActor. Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberge

Re: [akka-user] Implicit value issue for FromRequestUnmarshaller in akka-http with spray-json

2015-07-28 Thread Heiko Seeberger
You need to show the definition of routes. I assume (speculation again) that it’s a method in a different scope which doesn’t take an implicit Materializer (or EC). Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://tw

Re: [akka-user] Requester 2.0 library released

2015-07-29 Thread Heiko Seeberger
Is Requester offering any benefits over ask in combination with pipeTo? Thanks Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger>

  1   2   >