Linson Abah
06/14/2024, 12:32 PM$python flink_cdc.py
But when I deployed it to a standalone cluster, I go this error:
2024-06-14 09:14:07,679 ERROR org.apache.flink.runtime.source.coordinator.SourceCoordinator [] - Failed to create Source Enumerator for source Source: drivers_cdc_source[1]
org.apache.flink.util.FlinkRuntimeException: Failed to discover captured tables for enumerator
.....
Caused by: io.debezium.DebeziumException: Couldn't initialize type registry
at io.debezium.connector.postgresql.TypeRegistry.<init>(TypeRegistry.java:126) ~[flink-sql-connector-postgres-cdc-3.1.0.jar:3.1.0]
.....
Caused by: java.sql.SQLException: Cannot unwrap to org.postgresql.jdbc.PgConnection
at org.postgresql.jdbc.PgConnection.unwrap(PgConnection.java:1587) ~[flink-sql-connector-postgres-cdc-3.1.0.jar:3.1.0]Linson Abah
06/20/2024, 5:43 PMflink-sql-connector-postgres-cdc-3.1.0.jar:3.1.0 to flink-sql-connector-postgres-cdc-3.1.0.jar:3.1.0 .
I also switched to the version released by Ververica.