Hi Michael,

On 20.01.14 22:47, delasoul wrote:
Hello Martin,

can views also be used with an EventsourcedProcessor - looks like the auto update only works for Processors and their Persistent messages?

Yes, they can also be used with an EventsourcedProcessor. An EventsourcedProcessor internally writes Persistent event messages.


thanks in advance,

michael


On Monday, 20 January 2014 15:18:29 UTC+1, Martin Krasser wrote:

    Hi Vatel,

    On 20.01.14 13:40, vate...@gmail.com <javascript:> wrote:
    Endre,

    for example: SenderActor at NodeA is ready to send Message1 (maybe this
    is some request got from http client or a message from some other actor)
    to ReceiverActor, but the ReceiverActor is unreachable (it will not ACK
    the Message1). After that the whole NodeA fails. Will Message1 be
    processed by another instance of SenderActor in cluster?

    Yes, if you use a replicated journal
    
<http://doc.akka.io/docs/akka/snapshot/scala/persistence.html#community-projects>
    (or a shared journal
    
<http://doc.akka.io/docs/akka/snapshot/scala/persistence.html#shared-leveldb-journal>
    for testing purposes). Furthermore,

    - if SenderActor is itself a processor (communicating via a
    (non-persistent) channel
    <http://doc.akka.io/docs/akka/snapshot/scala/persistence.html#channels>
    with ReceiverActor), SenderActor must be a cluster singleton.
    - if SenderActor is a plain actor (communicating via a persistent
    channel
    
<http://doc.akka.io/docs/akka/snapshot/scala/persistence.html#persistent-channels>
    with ReceiverActor), the persistent channel must be a cluster
    singeton.

    Similar things apply to views
    <http://doc.akka.io/docs/akka/snapshot/scala/persistence.html#views>
    (reading from a replicated journal).

    Hope that helps.

    Your question is a bit unclear to me. What do you exactly mean by
    unable to send a message? The actor fails before sending the message?
    Or you are referring to some of the Channels?

    -Endre


    On Mon, Jan 20, 2014 at 1:09 PM,
    vate...@gmail.com  <javascript:>
    <vat...@gmail.com>  <javascript:>wrote:

    Hello,

    After reading this topic:
    https://groups.google.com/forum/#!topic/akka-user/Tb1Qqh4ZMmo  
<https://groups.google.com/forum/#%21topic/akka-user/Tb1Qqh4ZMmo>
    one thing is still unclear to me.

    If a SenderActor at NodeA is unable to send a Message1 to a
    ReceiverActor and a bit later the NodeA fails (and never restarts),
    will the framework itself solve the task of passing Message1 to
    other instances of SenderActor in cluster?

    Thanks.
    --
      Vatel

    --
          Read the docs:http://akka.io/docs/
          Check the FAQ:http://akka.io/faq/
          Search the archives:
    https://groups.google.com/group/akka-user  
<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+...@googlegroups.com  <javascript:>.
    To post to this group, send email to
    akka...@googlegroups.com  <javascript:>. Visit
    this group athttp://groups.google.com/group/akka-user  
<http://groups.google.com/group/akka-user>. For more
    options, visithttps://groups.google.com/groups/opt_out  
<https://groups.google.com/groups/opt_out>.


-- Martin Krasser

    blog:http://krasserm.blogspot.com
    code:http://github.com/krasserm
    twitter:http://twitter.com/mrt1nz


--
Martin Krasser

blog:    http://krasserm.blogspot.com
code:    http://github.com/krasserm
twitter: http://twitter.com/mrt1nz

--
     Read the docs: http://akka.io/docs/
     Check the FAQ: http://akka.io/faq/
     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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to