Created
August 24, 2021 21:01
-
-
Save Aaronontheweb/4c97e62a4308ace535e47bde157433b1 to your computer and use it in GitHub Desktop.
Multi-journal Akka.Persistence configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
akka.persistence{ | |
journal { | |
plugin = "akka.persistence.journal.sql-server" | |
sql-server { | |
# qualified type name of the SQL Server persistence journal actor | |
class = "Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.SqlServer" | |
# connection string used for database access | |
connection-string = "str1" | |
# SQL server schema name to table corresponding with persistent journal | |
schema-name = dbo | |
# SQL server table corresponding with persistent journal | |
table-name = EventJournal | |
# metadata table | |
metadata-table-name = Metadata | |
} | |
sql-server2 { | |
# qualified type name of the SQL Server persistence journal actor | |
class = "Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.SqlServer" | |
# connection string used for database access | |
connection-string = "str1" | |
# SQL server schema name to table corresponding with persistent journal | |
schema-name = dbo | |
# SQL server table corresponding with persistent journal | |
table-name = EventJournal2 | |
# metadata table | |
metadata-table-name = Metadata2 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment