Akka.NET - Is it possible to mix AtLeastOnceDeliveryReceiveActor with Publish/Subscribe pattern? -
i'd ask whether it's possible implement publish/subscribe pattern (http://getakka.net/articles/clustering/distributed-publish-subscribe.html) subscriber atleastoncedeliveryreceiveactor (http://getakka.net/articles/persistence/at-least-once-delivery.html)
i cannot make working due fact atleastoncedeliveryreceiveactor doesn't have receive method, command. when reference actor , using tell method send message command receive it, if i'd use mediator publish method command doesn't receive message.
thanks in advance.
receivepersistentactor
's command
works receive
handler (the distinction acknowledgement of persistence/recovery lifecycle of actor). being said, potentially build at-least-once-delivery publish/subscribe bus... i'd advise integrate actors logic existing persistent queue/log (like kafka, rabbitmq, azure service bus, whatever) instead of trying recreate in akka. guess less painful of people.
Comments
Post a Comment