DistributedPubSub does not support that. Reliable pub-sub delivery is a
difficult topic. If the publisher is supposed to resend (at least once
delivery) until it gets acks it must know what subscribers to receive acks
from, which kind of defeats the decoupling purpose of pub-sub.
DistributedPubSub
is intended for use cases where it's alright to lose some messages.

Alternatives:

   - Kafka
   - event sourcing as you mention
   - for some use cases Distributed Data
   <http://doc.akka.io/docs/akka/2.4.0/scala/distributed-data.html> can be
   used (it has a subscription mechanism)

Cheers,
Patrik

On Wed, Nov 18, 2015 at 3:25 PM, <[email protected]> wrote:

> See At-Least-Once-Delivery:
>
> http://doc.akka.io/docs/akka/2.4.0/scala/persistence.html#At-Least-Once_Delivery
>
>
> Em quarta-feira, 18 de novembro de 2015 11:12:28 UTC-3, [email protected]
> escreveu:
>>
>> Hi,
>>
>> I'm using DistributedPubSub for sending messages for subscribed actors on
>> certain topics. does anyone know how can I send ack to publisher or to the
>> mediator (RabbitMQ stayle)?
>> In case of 1000 subscribers I don't want to send 2000 Acks (1000 for pub
>> sub + 1000 to publisher), is there any known pattern for that or
>> alternately should I consider to replace the pubSub with other solution
>> such as EventSource?
>>
>> Thanks
>>
> --
> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to