-
Notifications
You must be signed in to change notification settings - Fork 26
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
Serialize as Json #13
Comments
I also would appreciate this ability |
If I'm not mistaken, it seems like this plugin will use whatever the registered serializer is for a given type: Lines 24 to 31 in ec6c977
Would this mean that one could register their own JSON serializers for the built-in Akka Persistence data structures in I suppose one would also want to change the message types in the docs from |
Okay, I think I'm going to give this a shot, unless someone like @okumin with real knowledge reports back with a reason to think this wouldn't work, or might not be advisable. For my application, I'm expecting throughput to be on the order of an event per second max, so I'm not super concerned about latency at this point. The idea of being able to directly examine the underlying store and also to manage deployment of a familiar DB is really attractive for my purposes. I'll report back! |
@stuartsaltzman @acjay You can serialize events or states by your custom serializers like the sample. However, you may not store that as special types, e.g. JSONB. Table schemas should be defined for each application considering its performance characteristic, so I'm planning to make table schemas customizable. |
Is it possible to serialize the payload as Json using this persistence plugin? I think the plugin would need to honor any configured serialization plugins? Thanks!
The text was updated successfully, but these errors were encountered: