Skip to content

Instantly share code, notes, and snippets.

@timvw
Last active August 28, 2018 08:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timvw/7dff7204e83d0d00a8c7254b6f4671b5 to your computer and use it in GitHub Desktop.
Save timvw/7dff7204e83d0d00a8c7254b6f4671b5 to your computer and use it in GitHub Desktop.
Download kafka-connect-hdfs jars
# download jars from nexus
mvn dependency:copy-dependencies
# copy jars into a folder under plugin.path (connect-distribute.properties)
# in this example plugin.path=./data/kafka/jars
cp -R ./target/dependency ./data/kafka/jars/kafka-connect-hdfs
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>be.icteam</groupId>
<artifactId>streaming</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<confluent.version>4.1.0</confluent.version>
</properties>
<dependencies>
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-connect-hdfs</artifactId>
<version>${confluent.version}</version>
</dependency>
<!--
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-connect-jdbc</artifactId>
<version>${confluent.version}</version>
</dependency>
-->
</dependencies>
<repositories>
<repository>
<id>confluent</id>
<url>https://packages.confluent.io/maven/</url>
</repository>
</repositories>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment