Skip to content

Commit

Permalink
sample: Dialect config in samples (#1066)
Browse files Browse the repository at this point in the history
* seems we forgot to update these
  • Loading branch information
patriknw authored Nov 10, 2023
1 parent eb3a25d commit 28ff30d
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
akka.persistence.r2dbc.connection-factory = ${akka.persistence.r2dbc.postgres}
akka {
persistence {
journal {
Expand All @@ -7,19 +8,13 @@ akka {
plugin = "akka.persistence.r2dbc.snapshot"
}
r2dbc {
# yugabyte or postgres
dialect = "postgres"
connection-factory {
driver = "postgres"

host = "localhost"
host = ${?DB_HOST}

port = 5432
database = "postgres"
user = "postgres"
user = ${?DB_USER}

password = "postgres"
password = ${?DB_PASSWORD}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
akka.persistence.r2dbc.connection-factory = ${akka.persistence.r2dbc.postgres}
akka {
persistence {
journal {
Expand All @@ -7,19 +8,13 @@ akka {
plugin = "akka.persistence.r2dbc.snapshot"
}
r2dbc {
# yugabyte or postgres
dialect = "postgres"
connection-factory {
driver = "postgres"

host = "localhost"
host = ${?DB_HOST}

port = 5432
database = "postgres"
user = "postgres"
user = ${?DB_USER}

password = "postgres"
password = ${?DB_PASSWORD}
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
akka.persistence.r2dbc.connection-factory = ${akka.persistence.r2dbc.postgres}
akka {
persistence {
journal {
Expand All @@ -7,11 +8,7 @@ akka {
plugin = "akka.persistence.r2dbc.snapshot"
}
r2dbc {
# yugabyte or postgres
dialect = "postgres"
connection-factory {
driver = "postgres"

host = "localhost"
host = ${?DB_HOST}
port = 5432
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
akka.persistence.r2dbc.connection-factory = ${akka.persistence.r2dbc.postgres}
akka {
persistence {
journal {
Expand All @@ -7,11 +8,7 @@ akka {
plugin = "akka.persistence.r2dbc.snapshot"
}
r2dbc {
# yugabyte or postgres
dialect = "postgres"
connection-factory {
driver = "postgres"

host = "localhost"
host = ${?DB_HOST}
port = 5432
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
akka.persistence.r2dbc.connection-factory = ${akka.persistence.r2dbc.postgres}
akka {
persistence {
journal {
Expand All @@ -7,11 +8,7 @@ akka {
plugin = "akka.persistence.r2dbc.snapshot"
}
r2dbc {
# yugabyte or postgres
dialect = "postgres"
connection-factory {
driver = "postgres"

host = "localhost"
host = ${?DB_HOST}
port = 5432
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
akka.persistence.r2dbc.connection-factory = ${akka.persistence.r2dbc.postgres}
akka {
persistence {
journal {
Expand All @@ -7,11 +8,7 @@ akka {
plugin = "akka.persistence.r2dbc.snapshot"
}
r2dbc {
# yugabyte or postgres
dialect = "postgres"
connection-factory {
driver = "postgres"

host = "localhost"
host = ${?DB_HOST}
port = 5432
Expand Down

0 comments on commit 28ff30d

Please sign in to comment.