Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.14.0, 1.13.1, 1.12.4
-
Connectors do not transitively hold a reference to `flink-core` anymore. That means that a fat jar with a connector does not include `flink-core` with this fix.
Description
Connectors get shaded into the user jar and as such should contain no unnecessary dependencies to flink. However, connector-base is exposing `flink-core` which then by default gets shaded into the user jar. Except for 6MB of extra size, the dependency also causes class loading issues, when `classloader.parent-first-patterns` does not include `o.a.f`.
Fix is to make `flink-core` provided in `connector-base`.
Attachments
Issue Links
- is caused by
-
FLINK-20098 Don't add flink-connector-files to flink-dist, make dependencies explicit
- Closed
- links to