Shared Level DB

Hello,

I am using the typed actor system, and trying to locally test persistence using shared Level DB. I have tried following the documentation to spawn the Shared Level DB actor as below,

val store = system.toClassic.actorOf(Props[SharedLeveldbStore], "store")

However, spawning an untyped actor gives me a start up exception,

java.lang.UnsupportedOperationException: cannot create top-level actor [store] from the outside on ActorSystem with custom user guardian

How do I start the actor with a typed actor system?

Kind regards

The SharedLevelDDStore has been supplanted by the PersistenceProxyPlugin https://doc.akka.io/docs/akka/current/persistence-plugins.html#persistence-plugin-proxy

Can you try that instead, I think it should work fine with a typed actor system.

1 Like

Thank you.