Somewhere it is documented as: "All events that are persisted in context of
a single command are written as a single batch to the journal (even if
persist is called multiple times per command). The recovery of a
PersistentActor will therefore never be done partially (with only a subset
of events persisted by a single command)."

However, I'm not sure that all journals implement it like that. It is not
verified by the TCK. We have also discussed this in issue
https://github.com/akka/akka/issues/15377, and we might want to improve
things in this area.

/Patrik

On Tue, Apr 14, 2015 at 9:09 PM, Aditya Devisetty <[email protected]
> wrote:

> any one please give some help
>
>
> On Tuesday, April 14, 2015 at 11:20:33 AM UTC+5:30, Aditya Devisetty wrote:
>>
>> Hi,
>>
>>    In Akka Persistence(here
>> <http://doc.akka.io/docs/akka/snapshot/java/persistence.html#Batch_writes>),
>> It's specified that, the batches are used to ensure atomic writes of even.
>> Can any one please give an example on, how
>>
>> to write batch writes in persistence with atomicity?.
>>
>  --
> >>>>>>>>>> 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