Port missing tests and skipPubSubTooFarAhead from akka-persistence-r2dbc (#380)

* Add skipPubSubTooFarAhead to R2dbcReadJournal; add cleanup and MultiPlugin tests from akka repo

Agent-Logs-Url: https://github.com/pjfanning/incubator-pekko-persistence-r2dbc/sessions/b15f893b-ba97-4ab6-91d4-59a55f5017dc

Co-authored-by: pjfanning <11783444+pjfanning@users.noreply.github.com>

* Update R2dbcReadJournal.scala

* Fix EventSourcedPubSubSpec by reducing backtracking.behind-current-time; add skipPubSubTooFarAhead test to EventsBySlicePubSubSpec; add querySettings to TestDbLifecycle

Agent-Logs-Url: https://github.com/pjfanning/incubator-pekko-persistence-r2dbc/sessions/c582f2eb-c468-46b7-a8a6-77c5ffe2decd

Co-authored-by: pjfanning <11783444+pjfanning@users.noreply.github.com>

* Fix flaky EventSourcedPubSubSpec: use PersistWithAck for pre-projection events

Agent-Logs-Url: https://github.com/pjfanning/incubator-pekko-persistence-r2dbc/sessions/ad105d29-a215-4050-8f10-12eb32e40427

Co-authored-by: pjfanning <11783444+pjfanning@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pjfanning <11783444+pjfanning@users.noreply.github.com>
8 files changed
tree: 022d37c66d7e205e95c3940fd3901f3807b128f0
  1. .github/
  2. core/
  3. ddl-scripts/
  4. docker/
  5. docs/
  6. migration/
  7. project/
  8. projection/
  9. scripts/
  10. .asf.yaml
  11. .git-blame-ignore-revs
  12. .gitattributes
  13. .gitignore
  14. .jvmopts
  15. .jvmopts-ci
  16. .scala-steward.conf
  17. .scalafmt.conf
  18. build.sbt
  19. CHANGELOG.md
  20. CONTRIBUTING.md
  21. design-notes.md
  22. LICENSE
  23. NOTICE
  24. README.md
README.md

R2DBC Plugin for Apache Pekko Persistence

Pekko Persistence journal and snapshot store for SQL databases with RD2BC connectivity.

Project status

Version 1.0.0 has been released. Any contributions are welcome. Please observe the Code of Conduct.

Documentation

Community

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.

License

Pekko Persistence RD2BC is Open Source and available under the Apache 2 License.