ahh, sorry, yes, you can have a static.conf, say, your static section of the config and programmatically you can build your config and include a static file as a resource, that's kind of way of mixing static conf with config objects, see Merging config trees: https://github.com/typesafehub/config#merging-config-trees
On Monday, June 13, 2016 at 9:10:50 AM UTC+1, Guido Medina wrote: > > To look for that key in the config open reference.conf of > akka-remote-....2.4.7.jar > > On Monday, June 13, 2016 at 9:10:01 AM UTC+1, Guido Medina wrote: >> >> Yes, just change the "java.io.Serializable" binding from "java" to >> "kryo", I'm not at home so can't look the exact key nor copy & paste my >> config section for that. >> That way any object that implements serializable will be serialize with >> Kryo, objects that don't implement Serializable you will have bind >> explicitly. >> >> HTH, >> >> Guido. >> >> On Monday, June 13, 2016 at 8:50:20 AM UTC+1, kraythe wrote: >>> >>> Greetings, >>> >>> I have a large map of serialization bindings basically in a big map >>> where type ids are defined that I would like to inject into the config at >>> startup but I have been unable to figure out how to do this. These >>> serialization bindings are used by 4 or 5 pieces of tech we have in the >>> stack so defining them programmatically is much more efficient. That way if >>> we add one to one place its changed for everywhere. Is there any way I can >>> do this? >>> >>> On a related note, is it possible to tell the Akka system to not use >>> Java serialization at all but rather the Kryo serializer extension that I >>> have integrated. I have had bad experiences with Java serialization when it >>> comes to performance and would like to deprecate it completely. >>> >>> Thanks as usual. You are all so helpful. Best community ever! >>> >> -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
