Isn't it just a timing issue? The registry of subscribers is eventually
replicated to other nodes, so if you send before the mediator at that node
knows about the subscriber it will not be delivered.

On Thu, Jun 29, 2017 at 4:23 PM, Alexander Bane <[email protected]>
wrote:

> Aloha everyone,
>
> I'm experiencing a little problem trying to let a publisher and  a
> subscriber communicate from different processes (and obv. from different
> ActorSystems).
>
> The issue here is that, while the applications running one a Publisher and
> one a Subscriber join just fine to the Cluster, the Publisher receives a
> dead letter response from the hook while trying to publish to the messages
> Pub-Sub Mediator that should be delivered to the Subscriber.
>
> I searched online but found nothing helpful. I guess there is probably
> something wrong with my configuration and stuff.
>
> I both tried to manually join the node to the cluster and to let the
> automatically join through the .conf file, defining a single seed (and is
> also the actual configuration).
>
> I'll attach the code and configurations as a .zip as they are a discrete
> bunch of Scala Classes/Objects.
>
> I hope any of you can be of help.
>
> Best regards,
>
> Alessandro Cevoli
>
> --
> >>>>>>>>>> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Akka Tech Lead
Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
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