No way to disable JDBC offset table creation
See original GitHub issueThe documentation for RDBMS read-side support says:
Lagom will store the offsets in a table that it will automatically create itself if it doesn’t exist. If you would prefer that Lagom didn’t automatically create this table for you, you can turn off this feature by setting
lagom.persistence.jdbc.create-tables.auto=false
inapplication.conf
.
Lagom does not currently check this setting when creating the offsets table; it is created unconditionally (if it doesn’t already exist).
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Offset in a relational DB with JDBC • Akka Projection
The database schema for the offset storage table: PostgreSQL: copy source CREATE TABLE IF NOT EXISTS akka_projection_offset_store ( projection_name VARCHAR ...
Read more >Prevent Kafka JDBC Sink from recording __connect_partition ...
Though I've got mode=upsert set on the connector, it still adds a unique row in the sink database for each value because it's...
Read more >JDBC Query Consumer - StreamSets Documentation
JDBC Query Consumer uses an offset column and initial offset value to determine where to start reading data within a table. Include both...
Read more >JDBC Source Connector Configuration Properties
If the tables don't, JDBC connector will fail to start. Setting this to false will disable these checks. Type: boolean; Default: true; Importance:...
Read more >Spring Data JDBC - Reference Documentation
In this case, the additional metadata required to build the actual Page instance is not created (which, in turn, means that the additional...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, @jousby. By the way, this issue was fixed in 1.3.0-RC2 (released a couple of days ago), so you should be able to disable creation if you update.
@TimMoore So I believe was hitting the issue you highlighted above at some point:
However there is a second issue I was also bumping into while trying to use schema’s other than PUBLIC. I’ve created an issue for this here https://github.com/lagom/lagom/issues/498.