Akka.Persistence.MongoDB v1.4.0-beta3
Pre-release
Pre-release
1.4.0-beta3 February 04 2020
Introduced legacy serialization modes.
However, in the event that you have one of the following use cases:
- Legacy data all stored in the original BSON / "object" format;
- A use case where BSON is preferable, i.e. so it can be queried directly via MongoDb queries rather than Akka.Persistence.Query; or
- A requirement to keep all data in human-readable form.
Then you can disable binary serialization (enabled by default) via the following HOCON:
akka.persistence.mongodb{
journal{
legacy-serialization = off
}
snapshot-store{
legacy-serialization = off
}
}
Setting legacy-serialization = on
will allow you to save objects in a BSON format.
WARNING: However, legacy-serialization = on
will break Akka.NET serialization. IActorRef
s, Akka.Cluster.Sharding, AtLeastOnceDelivery
actors, and other built-in Akka.NET use cases can't be properly supported using this format. Use it at your own risk.
Changes:
- ccdaa40 Merge pull request #111 from akkadotnet/dev
- 23ed8e9 updated build script to support beta tags in release notes; added v1.4.0-beta3 release notes (#110)
- afdae4b adding legacy serialization feature flag (#108) [ #107 ]
- d7b297e Bump MongoDB.Driver from 2.10.0 to 2.10.1 (#106)
- 8bd9667 Bump FluentAssertions from 5.9.0 to 5.10.0 (#105)
- 07d3175 Bump MongoDB.Driver from 2.9.1 to 2.10.0 (#104)
- 8971507 Bump Microsoft.NET.Test.Sdk from 16.3.0 to 16.4.0 (#102)
- d7b7d26 Explained serialization changes in README
This list of changes was auto generated.