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

Connector-base exposes dependency to flink-core.

    XMLWordPrintableJSON

    Details

    • Release Note:
      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

              • Assignee:
                arvid Arvid Heise
                Reporter:
                arvid Arvid Heise
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: