{"repo":"akkadotnet/Akka.Persistence.MongoDB","free":true,"listed":false,"github":"https://github.com/akkadotnet/Akka.Persistence.MongoDB","clone":"git clone https://github.com/akkadotnet/Akka.Persistence.MongoDB.git","description":"MongoDB support for Akka.Persistence","language":"C#","stars":31,"topics":["akka","mongodb","actors"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"- Akka.Persistence.MongoDB Setup Configuration Programmatic configuration Serialization - Akka.Hosting Integration Getting Started Health Check Support - Large Snapshot Store Support Configuring MongoDbGridFSSnapshotStore - Performance Benchmarks Akka.Persistence.MongoDB Akka Persistence journal and snapshot store backed by MongoDB database. [!NOTE] The MongoDB operator to limit the number of documents in a query only accepts an integer while akka provides a long as maximum for the loading of events during the replay. Internally the long value is cast to an integer and if the value is higher than Int32.MaxValue, Int32.MaxValue is used. So if you have stored more than 2,147,483,647 events for a single PersistenceId, you may have a problem :wink: Setup To activate the journal plugin, add the following lines to actor system configuration file: Similar configuration may be used to setup a MongoDB snapshot store: Remember that connection string must be provided separately to Journal and Snapshot Store. To finish setup simply initialize plugin using: MongoDbPersistence.Get(actorSystem); Configuration Both journal and snapshot store share the same configuration keys (however they reside in separate scopes, so they are defined distinctly for either journal or snapshot store): Programmatic configuration You can programmatically override the connection string setting in the HOCON configuration by adding a MongoDbPersistenceSetup to the ActorSystemSetup during ActorSystem creation. The ","default_branch":null,"files":null,"tree":[],"storefront":"/r/akkadotnet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/akkadotnet/Akka.Persistence.MongoDB/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}