Hi Team,
I am trying to insert 20k records into database using AKKA.But I found
only 19,994 records being inserted and rest 6 records were failure.Is
there any way in AKKA that I can get a solution for this i.e I need all the
20k records to be inserted into DB without failure?
--
>
Hello Rajesh,
There's a ton which could go wrong, firstly - we're not the database, so
you should explain how you use akka to persist these.
* do you mean you send 20k messages, and persist each one then?
* are database writes failing or are messages not delivered?
* who does the db writes? Do act
Oh and answering the question in the thread's title.
Akka message sends guarantee *at-most-once-delivery*, because the network
is a dangerous place.
We provide *at-least-once-delivery* via this trait
http://doc.akka.io/docs/akka/snapshot/scala/persistence.html#at-least-once-delivery
but please be