-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use config for numberOfProjectionInstances instead of val override
- Loading branch information
Showing
2 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
12 changes: 9 additions & 3 deletions
12
akka-components-persistence-projection-r2dbc/src/main/resources/reference.conf
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 |
---|---|---|
@@ -1,4 +1,10 @@ | ||
# override this to use custom settings for the default query plugin | ||
net.sc8s.akka.components.persistence.projection.r2dbc.default = ${akka.persistence.r2dbc} | ||
|
||
net.sc8s.akka.components.persistence.projection.r2dbc.default.connection-factory = ${akka.persistence.r2dbc.postgres} | ||
net.sc8s.akka.components.persistence.projection.r2dbc { | ||
default = ${akka.persistence.r2dbc} | ||
default { | ||
connection-factory = ${akka.persistence.r2dbc.postgres} | ||
# this is only used for sharded entities. singleton entities will always have only one instance | ||
# must be a whole number divisor of numberOfSlices [by default 1024]. | ||
numberOfProjectionInstances = 1 | ||
} | ||
} |
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