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

Add support for cluster sharding persistence #26

Closed
enashed opened this issue Feb 10, 2017 · 1 comment
Closed

Add support for cluster sharding persistence #26

enashed opened this issue Feb 10, 2017 · 1 comment

Comments

@enashed
Copy link

enashed commented Feb 10, 2017

Are there any plans to update this plugin to support cluster sharding persistence?

Currently if you use Akka.Persistence.MongoDB as a persistence plugin for cluster sharding, it fails to serialize messages. Even if you register the types using RegisterClassMap. You end up with an empty payload like this:

"Payload" : {
    "_t" : "ShardRegionRegistered"
}, 

In sql plugin, it uses binary serialisation to generate byte[], so hyperion serializer works fine with all those payloads. But in mongo, when BsonSerializer comes accross those messages:
ex: ShardRegionRegistered, ShardHomeAllocated, ShardHomeDeallocated, etc. It always generates an empty payload.

@Aaronontheweb
Copy link
Member

closed via #42

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