Skip to content

Cassandra journal plugin for #zio-actors-persistence. Mimics akka-persistence schema to favor migrations.

License

Notifications You must be signed in to change notification settings

Prom3th3us/zio-actors-cassandra-journal

Repository files navigation

Cassandra Journal Plugin for ZIO Actors Persistance

Project Stage CI Release Licence Issues Steward
ZIO Stage CI Release Artifacts License Issues Scala Steward
Technology Version
Scala 2.13.8
SBT 1.7.1
JAVA 17
ZIO 2.0.2

Summary

This plugin uses quill-cassandra as cql client to connect to the database.

The schema follows the akka-persistance standard to favor apps willing to migrate.

Others can simply sit on top, or fork the project to fit their custom needs.


sbt

Add the library to your project dependencies:

libraryDependencies += "io.github.prom3th3us" %% "zio-actors-cassandra-journal" % "<version>"

⚔️ Known issues

Because of zio.actors.persistence.journal.Journal plugin limitations, we cannot configure custom serializers for our events. For this reason, we decided to use jackson here. This forces us to declare nasty @JsonTypeInfo annotations on top of our event case classe for it to work, but it does the job quite good, fast and reliable.

🤝 Contributing

The best way to contribute right now is to provide feedback.

When contributing to this project and interacting with others, please follow our Contributing Guidelines.

About

Cassandra journal plugin for #zio-actors-persistence. Mimics akka-persistence schema to favor migrations.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published