* This module provides helper classes for serialization of Akka-specific classes.
Wraps the immutable typesafe.config.Config in a wrapper that keeps track of the state and follows the semantics of ChillConfig
To use, add a key to your config like:
Uses the Config system of chill.config to Configure at runtime which KryoInstantiator to use Overriding kryoInstantiator and using your own class name is probably easier for most cases.
Uses the Config system of chill.config to Configure at runtime which KryoInstantiator to use Overriding kryoInstantiator and using your own class name is probably easier for most cases. See ConfiguredInstantiator static methods for how to build up a correct Config with your reflected or serialized instantiators.
To use, add a key to your config like:
akka.actor.serializers { kryo = "com.twitter.chill.akka.AkkaSerializer" }
Then for the super-classes of all your message types, for instance, scala.Product, write:
akka.actor.serialization-bindings { "scala.Product" = kryo }
Kryo is not thread-safe so we use an object pool to avoid over allocating.