Thanks Patrick. It did the trick.

On Friday, 26 February 2016 18:59:58 UTC+5:30, Patrik Nordwall wrote:
>
> You can save snapshot to reduce number of replayed events. Note 
> documentation around snapshots and AtLeastOnceDelivery.
>
>
>
> On Fri, Feb 26, 2016 at 6:23 AM, Ganta Murali Krishna <[email protected] 
> <javascript:>> wrote:
>
>>
>> *Update:* If I call deleteMessages(deliveryId,permanent = true)  after 
>> confirmDelivery(deliveryId), then only *MsgSent *are getting deleted. 
>> *MsgConfirmed *are still getting replayed on restart
>>
>>
>> On Friday, 26 February 2016 09:23:21 UTC+5:30, Ganta Murali Krishna wrote:
>>>
>>> Hello,
>>>
>>> I am trying out Akka persistence with AtleastOnceDelivery example from 
>>> here 
>>> http://doc.akka.io/docs/akka/snapshot/scala/persistence.html#At-Least-Once_Delivery
>>>
>>> Everything is running fine and exactly as per my requirement, its really 
>>> beautiful peace of . However, when I restart, I am expecting to replay only 
>>> unconfirmed messages, but every message is being replayed. 
>>>
>>> How can I configure PersistentActor to *only replay unconfirmed *messages 
>>> on restart of the system/PersistentActor ?
>>>
>>> Any help would be really appreciated.
>>>
>>> Regards
>>> Murali
>>>
>> -- 
>> >>>>>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Patrik Nordwall
> Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
> Twitter: @patriknw
>
> [image: Lightbend] <http://www.lightbend.com/>
>
>

-- 
>>>>>>>>>>      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