Hi I'm currently working with Flink 1.18.1 and try...
# troubleshooting
m
Hi I'm currently working with Flink 1.18.1 and trying to implement a real-time streaming lookup JOIN using the JDBC connector. The problem is that I need the
flink-connector-jdbc-1.18.1.jar
(which includes the
JdbcRowDataLookupFunction
class), but I can't find this JAR available in Maven Central or in the official Flink distribution. I tried building it from source via the flink-connector-jdbc repository, but the resulting JAR is only ~380 KB and does not include the required class. I also cloned the main
flink
repo and switched to
release-1.18
, but it appears that
flink-connector-jdbc
is no longer included there as a module. Where can I download the correct
flink-connector-jdbc-1.18.1.jar
that contains all required classes for lookup JOINs, including
JdbcRowDataLookupFunction
?
If there's no prebuilt version available, what is the recommended way to build the correct shaded JAR for this use case?
j
Someone would give a better answer but it looks the second part of version names looks to indicate flink versions.
m
Thanks! Unfortunately, we already tried all available
flink-connector-jdbc
JARs that match Flink version 1.18.1 β€” including all variations where the second part of the version matches the Flink release. However, none of them contained the required
JdbcRowDataLookupFunction
class or the necessary implementation for performing JDBC lookup joins. We also built the connector manually from the flink-connector-jdbc repo, but the resulting JAR was only ~380 KB and missing critical classes. Then we tried building from the main Flink repo under the
release-1.18
branch, but this module appears to be no longer included there either. If you know of a reliable way to build or obtain the fully shaded JAR (with all required classes for JDBC lookup functionality), I'd appreciate any advice!