Skip to content

Commit

Permalink
add migration guide (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Dec 9, 2023
1 parent 9b54264 commit 3fc28f1
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/src/main/paradox/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ The Pekko Persistence R2DBC plugin allows for using SQL database with R2DBC as a
* [Durable State Plugin](durable-state-store.md)
* [Query Plugin](query.md)
* [Projection](projection.md)
* [Migration tool](migration.md)
* [Contributing](contributing.md)
* [Migration Tool](migration.md)
* [Migration Guides](migration-guides.md)
* [Release Notes](release-notes.md)
* [Contributing](contributing.md)

@@@

23 changes: 23 additions & 0 deletions docs/src/main/paradox/migration-guides.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Migration Guides

Apache Pekko Persistence R2DBC 1.0.0 is based on Akka Persistence R2DBC 0.7.7.

## Migration to Apache Pekko

These migration notes are designed for users migrating from Akka Persistence R2DBC 0.7.7 to Persistence R2DBC 1.0
and assume a basic level of Akka experience. Please feel free to submit an issue or a patch if you feel like the notes can be improved.

One of the main differences is that the database tables used by `pekko-projection-r2dbc` have been renamed to
remove the `akka` prefixes ([PR71](https://github.com/apache/incubator-pekko-persistence-r2dbc/pull/71)).

The table names that `pekko-projection-r2dbc` expects to find can be changed using [configuration settngs](https://github.com/lightbend/config).

Users migrating from Akka who want to reuse the pre-existing tables could set a config like:

```HOCON
pekko.projection.r2dbc.offset-store {
offset-table = "akka_projection_offset_store"
timestamp-offset-table = "akka_projection_timestamp_offset_store"
management-table = "akka_projection_management"
}
```
2 changes: 1 addition & 1 deletion docs/src/main/paradox/migration.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Migration tool
# Migration Tool

There is a migration tool that is useful if you would like to migrate from another Pekko Persistence plugin
to the R2DBC plugin. It has been tested with Pekko Persistence JDBC as source plugin, but it should work with
Expand Down
1 change: 1 addition & 0 deletions docs/src/main/paradox/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Release Notes

## 1.0.0

Apache Pekko Persistence R2DBC 1.0.0 is based on Akka Persistence R2DBC 0.7.7. Pekko came about as a result of Lightbend's
decision to make future Akka releases under a [Business Software License](https://www.lightbend.com/blog/why-we-are-changing-the-license-for-akka),
a license that is not compatible with Open Source usage.
Expand Down

0 comments on commit 3fc28f1

Please sign in to comment.