| # SPDX-License-Identifier: Apache-2.0 |
| |
| # This defines the default configuration for pekko-projection-jdbc. |
| # Make your edits/overrides in your application.conf. |
| |
| //#config |
| pekko.projection.jdbc { |
| # choose one of: mysql-dialect, postgres-dialect, mssql-dialect, oracle-dialect or h2-dialect (testing) |
| dialect = "" |
| use-dispatcher = "pekko.projection.jdbc.blocking-jdbc-dispatcher" |
| blocking-jdbc-dispatcher { |
| type = Dispatcher |
| executor = "thread-pool-executor" |
| thread-pool-executor { |
| # Use same number of threads as connections in the JDBC connection pool. |
| fixed-pool-size = "" |
| } |
| throughput = 1 |
| } |
| |
| offset-store { |
| # set this to your database schema if applicable, empty by default |
| schema = "" |
| # the database table name for the offset store |
| table = "pekko_projection_offset_store" |
| |
| # the database table name for the projection manangement data |
| management-table = "pekko_projection_management" |
| |
| # Use lowercase table and column names. |
| # This is mostly useful for H2 and Postgres databases. MySQL and SQL Server are case insensitive. |
| # Oracle schema is case sensitive and is defined with uppercase, this property is therefore ignore when using Oracle |
| use-lowercase-schema = true |
| } |
| |
| debug.verbose-offset-store-logging = false |
| } |
| //#config |