I\'ve an Akka application which uses multiple configuration values (IP address, port numbers) defined in resource/application.conf. I\'m using the sbt-ass
I was able to programmatically override default akka config with:
val customConf =
ConfigFactory.parseString(s"""
akka {
persistence.snapshot-store.local{
dir = target/snapshot
}
persistence.journal.leveldb.dir = target/journal
}
""")
val config = customConf.withFallback(original).resolve()
logger.info(config.root().render())
val system = ActorSystem("iSystem", config)