Asynchronously writes journal and snapshot entries to configured JDBC databases so that Apache Pekko Actors can recover state

Clone this repo:
  1. 68df0ef some compiler warnings (#116) by PJ Fanning · 2 weeks ago main
  2. 5f4df09 Update Dependencies.scala (#110) by PJ Fanning · 3 weeks ago
  3. d8a47ab update deprecation values to mention akka (#117) by PJ Fanning · 3 weeks ago
  4. 035e128 Update docker-compose.yml (#108) by PJ Fanning · 3 weeks ago
  5. 2c27a3c don't fully specify scala versions (#107) by PJ Fanning · 3 weeks ago

Apache Pekko Persistence JDBC

Use JDBC-compatible databases with Pekko Persistence


pekko-persistence-jdbc writes journal and snapshot entries to a configured JDBC store. It implements the full pekko-persistence-query API and is therefore very useful for implementing DDD-style application models using Pekko for creating reactive applications.

Please note that the H2 database is not recommended to be used as a production database, and support for H2 is primarily for testing purposes.



There are several ways to interact with the Pekko community:

  • GitHub discussions: for questions and general discussion.
  • Pekko dev mailing list: for Pekko development discussions.
  • Pekko users mailing list: for Pekko user discussions.
  • GitHub issues: for bug reports and feature requests. Please search the existing issues before creating new ones. If you are unsure whether you have found a bug, consider asking in GitHub discussions or the mailing list first.


Contributions are very welcome! The Apache Pekko team appreciates community contributions by both those new to Pekko and those more experienced.

If you find an issue that you'd like to see fixed, the quickest way to make that happen is to implement the fix and submit a pull request.

Refer to the file for more details about the workflow, and general hints on how to prepare your pull request.

You can also ask for clarifications or guidance in GitHub issues directly.