[
https://issues.apache.org/jira/browse/FLINK-22964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arvid Heise updated FLINK-22964:
--------------------------------
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`.
was: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`.
> Connector-base exposes dependency to flink-core.
> ------------------------------------------------
>
> Key: FLINK-22964
> URL: https://issues.apache.org/jira/browse/FLINK-22964
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.14.0, 1.13.1, 1.12.4
> Reporter: Arvid Heise
> Priority: Major
> Fix For: 1.14.0, 1.12.5, 1.13.2
>
>
> 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`.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)