Replies: 1 comment
-
Migrating from Akka.Persistence.Sql Snapshot StoreYou can use your existing HOCON configuration, as long as you follow the instructions below!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've created Akka.Persistence.Linq2Db in effort to provide the community a high performance, database agnostic solution to SQL Persistence needs.
As part of recognizing the community's need to migrate from existing plugins, we have created a 'Compatibility mode' with corresponding code support in order to make it easier for users to migrate over to the new version.
This discussion aims to provide Answer questions, and provide guidance to those wanting to give it a try.
Migrating from Akka.Persistence.Sql Journal
You can use your existing HOCON configuration, as long as you follow the instructions below!
class
to the following:class = "Akka.Persistence.Sql.Linq2Db.Journal.Linq2DbWriteJournal, Akka.Persistence.Sql.Linq2Db"
table-compatibility-mode
table-compatibility-mode = "SqlServer"
table-compatibility-mode = "Postgres"
table-compatibility-mode = "Sqlite"
provider-name
for your database provider.provider-name = "SqlServer.2008"
provider-name = "SqlServer.2012"
provider-name = "SqlServer.2014"
provider-name = "SqlServer.2016"
provider-name = "SqlServer.2017"
provider-name = "PostgreSQL.9.2"
provider-name = "PostgreSQL.9.3"
provider-name = "PostgreSQL.9.5"
provider-name = "SQLite.MS"
tables.journal.table-name
andtables.journal.metadata-table-name
but will try to read what is in the 'root' journal configuration first. Here's an example from the SQLite compatibility spec to help explaintables.journal.table-name
andtables.journal.metadata-table-name
to set your table names for the Journal and Journal Metadata, respectively.Beta Was this translation helpful? Give feedback.
All reactions