Created
July 20, 2015 18:14
-
-
Save aph5nt/aabd5a9015d4d94882ba to your computer and use it in GitHub Desktop.
sql persistance configuration is not working
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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<configSections> | |
<section name="akka" type="Akka.Configuration.Hocon.AkkaConfigurationSection, Akka" /> | |
</configSections> | |
<akka> | |
<hocon> | |
<![CDATA[ | |
akka { | |
stdout - loglevel = DEBUG | |
loglevel = DEBUG | |
log - config - on - start = on | |
actor { | |
debug { | |
receive = on | |
autoreceive = on | |
lifecycle = on | |
event - stream = on | |
unhandled = on | |
} | |
} | |
akka.persistence { | |
publish-plugin-commands = on | |
journal { | |
plugin = "akka.persistence.journal.sql-server" | |
sql-server { | |
class = "Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.SqlServer" | |
plugin-dispatcher = "akka.actor.default-dispatcher" | |
table-name = EventJournal | |
schema-name = dbo | |
auto-initialize = on | |
connection-string = "Data Source=localhost\\SQLEXPRESS;Database=akka_persistence_tests;User Id=akkadotnet;Password=akkadotnet;" | |
} | |
} | |
} | |
]]> | |
</hocon> | |
</akka> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment