-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java CDK, source-postgres: speed up tests involving debezium #31976
Conversation
…as nothing interesting in it
…t_seconds` mutation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
@@ -167,6 +167,8 @@ public static List<AutoCloseableIterator<AirbyteMessage>> cdcCtidIteratorsCombin | |||
final PostgresCdcStateHandler postgresCdcStateHandler = new PostgresCdcStateHandler(stateManager); | |||
|
|||
final boolean canShortCircuitDebeziumEngine = savedOffset.isPresent() && | |||
// Until the need presents itself in production, short-circuiting should only be done in tests. | |||
sourceConfig.has("is_test") && sourceConfig.get("is_test").asBoolean() && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
/publish-java-cdk dry-run=true
|
0c9d758
to
9356a6b
Compare
Hmm, seems like CDK version 0.2.1 has already been published. Bumping to 0.2.2. |
9356a6b
to
4e4041e
Compare
/publish-java-cdk dry-run=true
|
/publish-java-cdk
|
Thanks for the review! |
This PR includes three meaningful, distinct changes which each improve test execution latency when relying on the Debezium engine. These changes aim to have limited impact in a production setting.
Fixes #31828.