Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-22964

Connector-base exposes dependency to flink-core.

    XMLWordPrintableJSON

Details

    • 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

          Activity

            People

              arvid Arvid Heise
              arvid Arvid Heise
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: