David Bryson
01/04/2024, 12:46 AMCannot discover a connector using option: 'connector'='jdbc'
...
Could not find any factory for identifier 'jdbc' that implements 'org.apache.flink.table.factories.DynamicTableFactory' in the classpath.
This is despite having all the correct jars in my uber-jar:
jar -tf lib/myfatjar-0.1.0-combined.jar | grep -i org/apache/flink/connector/jdbc/dialect/psql
org/apache/flink/connector/jdbc/dialect/psql/
org/apache/flink/connector/jdbc/dialect/psql/PostgresDialectFactory.class
org/apache/flink/connector/jdbc/dialect/psql/PostgresDialect.class
org/apache/flink/connector/jdbc/dialect/psql/PostgresTypeMapper.class
I've had my JDBC connector working before but I guess not as the source of my table environment. Does it support DynamicTables?David Bryson
01/04/2024, 12:53 AMAvailable factory identifiers are:
blackhole
datagen
filesystem
print
python-input-formatDavid Bryson
01/04/2024, 1:01 AMCaused by: org.apache.flink.table.api.ValidationException: Could not find any factory for identifier 'postgres-cdc' that implements 'org.apache.flink.table.factories.DynamicTableFactory' in the classpath.David Bryson
01/04/2024, 3:31 AMDavid Bryson
01/04/2024, 3:34 AM