scullxbones / pekko-persistence-mongo Goto Github PK
View Code? Open in Web Editor NEWPort of akka-persistence-mongo to Pekko
License: Apache License 2.0
Port of akka-persistence-mongo to Pekko
License: Apache License 2.0
Would it be possible to support Scala 3? The core Pekko libs support it.
The akka-persistence-mongo persistence plugin had 2 variants to choose from regarding the used MongoDB driver:
In order to have a "future proof" driver also supporting the latest MongoDB versions and in order to reduce maintenance efforts, I suggest to only support a single driver in pekko-persistence-mongo
.
As we in Eclipse Ditto had a very good and stable experience with the former mongo-scala-driver
variant of akka-persistence-mongo
- and this is the "official" driver from MongoDB I would suggest to only support this variant in the future.
As the replacement is org.mongodb.scala:mongo-scala-driver_2.13:4.8.2 with documentation here: http://mongodb.github.io/mongo-java-driver/4.8/driver-scala/, I would suggest to support that driver only.
This driver supports MongoDB version 3.6 (which maybe is important for MongoDB "replacements" like AWS DynamoDB supporting only up to MongoDB 3.6 due to license issues) up to 6.1: https://www.mongodb.com/docs/drivers/java/sync/current/compatibility/
If you have a collection of existing akka persistence data and try to migrate over to pekko using this plugin, you'll get this error:
com.mongodb.MongoCommandException: Command failed with error 85 (IndexOptionsConflict): 'Index with name: pekko_persistence_metadata_pid already exists with a different name'
where in the old version of this library it seems the index was named akka_persistence_metadata_pid
and you'll have to wipe your instance of mongo so the index can be recreated with the new name
Hey,
I'm really excited to use this! But it seems like you aren't publishing any snapshots yet. Of course I can do a clone and make the jar, which I have, but it would be cool to just grab the jar that you publish.
Thanks for making this awesome project!
Thanks for your work on this project.
Would it be possible to add GitHub labels to the project? pekko
and pekko-persistence
would be useful. It's good for apps like https://index.scala-lang.org/ which uses the labels to categorise the Scala libs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.