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

Multiple serializers #17

Open
vigoo opened this issue Sep 14, 2022 · 0 comments
Open

Multiple serializers #17

vigoo opened this issue Sep 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@vigoo
Copy link

vigoo commented Sep 14, 2022

It proved to be very useful when using Akka to be able to define multiple serializers identified by name as part of the protocol (https://doc.akka.io/docs/akka/current/serialization.html#rolling-updates). We were able to use this to do rolling updates in live system from Kryo with Scala 2.12 to Kryo with Scala 2.13 and eventually an alternative serialization library.

It would be nice to have the same capability in shardcake, for example by providing a Serializer which holds a map of other serializers and defines some header format to identify which one to use.

@ghostdogpr ghostdogpr added the enhancement New feature or request label Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants