Hi there, I am having trouble wrapping my head around the various actorRefWithBackpressure options.
Let’s say I have the following:
- A fast source
- An actor that consumes and processes that source but is somewhat slow.
Is the following the correct way to hook these up? And if so, where am I supposed to be emitting and/or handling the Ack message? Is this somehow wired up by this construction:
fastSource.runWith(ActorRef.actorRefWithBackpressure(slowActor???, Ack, …))
I have read all the online docs, but they seem to be a few steps short of what I need to really grok what is going on, so any more extensive examples would be much appreciated.
Thanks.
1 post - 1 participant