Reputation: 19398
Is there an example to persist actor states backed by a MYSQL database? I am using the https://doc.akka.io/docs/akka/2.5/fsm.html for its finite state machine and want the states to be long lived. I did not find an example to achieve this using a mysql database.
Upvotes: 1
Views: 1037
Reputation: 1356
You can use akka persistence to do so: https://doc.akka.io/docs/akka/2.5/persistence.html#persistent-fsm
Upvotes: 1