-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters