I am trying to define a ClusterRouterPool that manages a BalancingPool of Actors across my cluster. The actual end Actor that does the work uses the Gson library's Gson class which is not Serializable. When I bring up a 2nd node in the cluster, as it joins the primary node, I get NotSerializableException's thrown on the leader (where the ClusterRouterPool was initialized)
How to work around this? So in order to use clustered actors, every member of the Actors being clustered must be serializable?