In your reference.conf you are including the entire reference.conf from Akka 2.3.9, this is incorrect and is not how reference.conf files are meant to be used, it will lead to race conditions with configuration loading if users of your library are pulling in never versions of Akka.
The reference.conf should only contain scassandra settings and not touch any Akka settings as it may load before the Akka reference.conf. If you want to override Akka settings that should be done in an application.conf file, or by providing your own chain of configuration loading using the Typesafe Config library APIs and then passing that Configuration to your actor system upon creation.
Agreed, I think it is there from when I created the fat shaded jar that pulls in many akka jars and there reference.confs override each other then break the final jar. Happy to accept a PR.
In your
reference.conf
you are including the entirereference.conf
from Akka 2.3.9, this is incorrect and is not howreference.conf
files are meant to be used, it will lead to race conditions with configuration loading if users of your library are pulling in never versions of Akka.The
reference.conf
should only contain scassandra settings and not touch any Akka settings as it may load before the Akkareference.conf
. If you want to override Akka settings that should be done in anapplication.conf
file, or by providing your own chain of configuration loading using the Typesafe Config library APIs and then passing thatConfiguration
to your actor system upon creation.