I think you're missing the important word here: they can't be used with
*remote* actors.  As I understand it, the point is that you can't just
connect it to any old Actor, which might be on some other node -- you can
only do it with *local* Actors...

On Wed, Sep 28, 2016 at 11:50 PM, Dagny T <dagnytagg2...@gmail.com> wrote:

>  I have a JS Websocket streaming into an Akka Http Server; but I want to
> keep in-memory the latest aggregate state in an Akka Actor.
>
> i.e. Is that just using CQRS on the datastore, so I wouldn't be connecting
> the Akka Actor (Query Read Response-side) directly to the Akka Http Server
> (Command) writer.
> Rather, the writer writes events; and the Akka Actor reads events to
> 'rollup' to the aggregate state?
>
> I looked up Actor Publisher and Actor Subscriber, but their use with
> Streams is deprecated in the latest docs -- 'deadlock' risk (see my prior
> message).
>
> THANKS!
> Dagny
>
> On Monday, September 26, 2016 at 12:07:55 AM UTC-7, Dagny T wrote:
>>
>> Hi there,
>>
>> The latest info I have from a prior Akka Team response was that the Akka
>> Actor Publisher/Subscriber APIs are now deprecated;
>> and one should be looking at the Graph DSL instead.
>>
>> i.e. Latest Akka Docs state:
>> ActorPublisher and ActorSubscriber
>>  cannot be used with remote actors,
>> because if signals of the Reactive Streams protocol (e.g. request) are
>> lost the the stream may deadlock.
>>
>> So, now I'm not clear on what the replacement APIs we're supposed to be
>> using; as far as connecting State-Holding Akka Actors to Graph DSL
>> Event-Streams.
>>
>> Is there an Akka Team Blog with a GitHub link to a small focused example
>> which demonstrates this?
>>
>> THANKS in advance for any help with finding the latest APIs to use for
>> this!
>> Dagny
>>
>>
>> --
> >>>>>>>>>> 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.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-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      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.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-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to