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

Make flink-streaming-connectors' flink dependencies provided

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      All of the flink-streaming-connectors depend on flink-streaming-java (compile scope). This entails that whenever you have a project which depends on the a connector this will also pull in the heavy-weight flink-streaming-java dependency. If you now build a fat-jar, you have to use exclusion rules to filter them out again.

      It would be more natural to simply declare the dependencies as provided which will automatically avoid the inclusion in the fat jar with respect to the connector dependency.

        Attachments

          Activity

            People

            • Assignee:
              trohrmann Till Rohrmann
              Reporter:
              trohrmann Till Rohrmann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: