Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class registration and backward compatibility support #325

Open
eugenemiretsky opened this issue Dec 12, 2018 · 1 comment
Open

Class registration and backward compatibility support #325

eugenemiretsky opened this issue Dec 12, 2018 · 1 comment

Comments

@eugenemiretsky
Copy link

Hello,
My understanding is that Chill Akka user requiredRegistration= false and FieldSerializer for all classes. Is there a way to

  1. Register some specific classes
  2. Provide backwards compatibility for messages (useful for rolling restarts with new messages)
@ankush-iit09
Copy link

ankush-iit09 commented Aug 10, 2020

Hi
I am facing same issue, we are using ScalaKryoInstantiator to create kryo pool which internally uses FieldSerializer.

def kryoPool(): KryoPool = {
val poolSize = 10
val kryoInstantiator = new ScalaKryoInstantiator
KryoPool.withByteArrayOutputStream(poolSize, kryoInstantiator)
}

Now I am not sure how to support backward compatibility in serialization/de-serialization of my case clases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants