Skip to content

Instantly share code, notes, and snippets.

@aph5nt
Created July 20, 2015 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aph5nt/aabd5a9015d4d94882ba to your computer and use it in GitHub Desktop.
Save aph5nt/aabd5a9015d4d94882ba to your computer and use it in GitHub Desktop.
sql persistance configuration is not working
<?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