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

Flink Kafka Connector Dependency Error

    XMLWordPrintableJSON

Details

    Description

      From the Flink doucumention URL:https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/connectors/kafka.html

      We can see the "Dependency" section as follows:

      <dependency>
      	<groupId>org.apache.flink</groupId>
      	<artifactId>flink-connector-kafka-010_2.11</artifactId>
      	<version>1.11.0</version>
      </dependency>
      
      <dependency>
      	<groupId>org.apache.flink</groupId>
      	<artifactId>flink-connector-kafka-011_2.11</artifactId>
      	<version>1.11.0</version>
      </dependency>
      

      However,I couldn't get the correct jar in the pom.xml which was configured the dependency as shown above.

      Then I searched it in the https://mvnrepository.com/ and aliyun maven,I found the dependency should be as follows:

      <dependency>
      	<groupId>org.apache.flink</groupId>
      	<artifactId>flink-connector-kafka-0.10_2.11</artifactId>
      	<version>1.11.0</version>
      </dependency>
      
      <dependency>
      	<groupId>org.apache.flink</groupId>
      	<artifactId>flink-connector-kafka-0.11_2.11</artifactId>
      	<version>1.11.0</version>
      </dependency>
      

      Attachments

        1. 0.10.png
          7 kB
          liugh
        2. 0.11.png
          7 kB
          liugh

        Issue Links

          Activity

            People

              Unassigned Unassigned
              liugh liugh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: