Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7031

Kafka Connect API module depends on Jersey

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0, 2.1.0
    • connect
    • None

    Description

      The Kafka Connect API module for 2.0.0 brings in Jersey dependencies. When I run mvn dependency:tree on a project that depends only on the snapshot version of org.apache.kafka:kafka-connect-api, the following are shown:

      [INFO] +- org.apache.kafka:connect-api:jar:2.0.0-SNAPSHOT:compile
      [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.25:compile
      [INFO] |  \- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.27:compile
      [INFO] |     +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.27:compile
      [INFO] |     |  \- org.glassfish.hk2.external:javax.inject:jar:2.5.0-b42:compile
      [INFO] |     +- org.glassfish.jersey.core:jersey-common:jar:2.27:compile
      [INFO] |     |  +- javax.annotation:javax.annotation-api:jar:1.2:compile
      [INFO] |     |  \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:compile
      [INFO] |     +- org.glassfish.jersey.core:jersey-server:jar:2.27:compile
      [INFO] |     |  +- org.glassfish.jersey.core:jersey-client:jar:2.27:compile
      [INFO] |     |  +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.27:compile
      [INFO] |     |  \- javax.validation:validation-api:jar:1.1.0.Final:compile
      [INFO] |     \- javax.ws.rs:javax.ws.rs-api:jar:2.1:compile
      ...
      

      This may have been an unintended side effect of the KIP-285 effort, which added the REST extension for Connect.

      Attachments

        Issue Links

          Activity

            People

              mageshn Magesh kumar Nandakumar
              rhauch Randall Hauch
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: