akka/akka-core

Possibility to give persistence plugin configurations at runtime

Aperta

#31.441 aperta il 20 giu 2022

 (1 commento) (0 reazioni) (0 assegnatari)Scala (3547 fork)batch import
1 - triagedhelp wantedt:persistence

Metriche repository

Star
 (13.277 stelle)
Metriche merge PR
 (Merge medio 8g 19h) (10 PR mergiate in 30 g)

Descrizione

I see that Classic persistence has the possibility to provide plugin configuration at runtime. But the same feature is missing for typed implementation.

Was there a reason to drop it in the typed version or there is some other technique to handle it?

From Akka's sources, it looks like it is not possible to override it.

One option is to have multiple actor systems in a multi-tenant application, but not sure if this approach is good in general.

Guida contributor