1
0
mirror of synced 2026-01-05 21:02:13 -05:00

fix: Disable CDC checkpointing using a flag (#24275)

* Disable CDC checkpointing until finished the investigation with reading Offset file during syncs

* Bump connector versions

* auto-bump connector version

* Publish postgres manually

* Definitions manually for mysql

* Generated definitions manually mssql

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
This commit is contained in:
Sergio Ropero
2023-03-21 15:32:20 +01:00
committed by GitHub
parent 0409574f8d
commit ca2d9c733f
18 changed files with 295 additions and 281 deletions

View File

@@ -550,6 +550,7 @@ public class CdcPostgresSourceTest extends CdcSourceTest {
*
* @throws Exception
*/
/* TODO: Re-enable when connector allows CDC checkpointing
@Test
protected void verifyCheckpointStatesByRecords() throws Exception {
// We require a huge amount of records, otherwise Debezium will notify directly the last offset.
@@ -585,6 +586,7 @@ public class CdcPostgresSourceTest extends CdcSourceTest {
assertTrue(stateMessagesCDC.size() > 1);
assertEquals(stateMessagesCDC.size(), stateMessagesCDC.stream().distinct().count());
}
*/
/** This test verify that multiple states are sent during the CDC process based on time ranges. We can
* ensure that more than one `STATE` type of message is sent, but we are not able to assert the exact
@@ -592,6 +594,7 @@ public class CdcPostgresSourceTest extends CdcSourceTest {
*
* @throws Exception
*/
/* TODO: Re-enable when connector allows CDC checkpointing
@Test
protected void verifyCheckpointStatesBySeconds() throws Exception {
// We require a huge amount of records, otherwise Debezium will notify directly the last offset.
@@ -627,4 +630,5 @@ public class CdcPostgresSourceTest extends CdcSourceTest {
assertTrue(stateMessagesCDC.size() > 1);
assertEquals(stateMessagesCDC.size(), stateMessagesCDC.stream().distinct().count());
}
*/
}