You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zhuojun Jiang (Jira)" <ji...@apache.org> on 2026/08/19 09:23:00 UTC
[jira] [Created] (FLINK-40441) Shade com.zaxxer (HikariCP) for pg pipeline connector to avoid cross-connector conflicts
Zhuojun Jiang created FLINK-40441:
-------------------------------------
Summary: Shade com.zaxxer (HikariCP) for pg pipeline connector to avoid cross-connector conflicts
Key: FLINK-40441
URL: https://issues.apache.org/jira/browse/FLINK-40441
Project: Flink
Issue Type: Bug
Components: Flink CDC
Affects Versions: cdc-3.5.0, cdc-3.6.0, cdc-3.7.0
Reporter: Zhuojun Jiang
Packaging com.zaxxer:HikariCP into the postgres pipeline connector without relocation can cause ClassLoader/class conflicts when multiple connectors are used together (HikariCP duplicated on classpath).
Reproduction:
1. Build + package multiple connector modules that include HikariCP (e.g., mysql + postgres).
2. Run an application that loads both connectors — observe linkage/class conflicts at runtime.
Root cause: pom.xml included com.zaxxer:HikariCP in the shade artifactSet but did not add a relocation for the com.zaxxer package. Other connectors already relocate HikariCP, leading to inconsistent namespaces and runtime conflicts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)