Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.confluentinc:kafka-connect-jdbc:v10.8.3-rc-4e6a1dd5'
}
dependencies {
implementation("com.github.confluentinc:kafka-connect-jdbc:v10.8.3-rc-4e6a1dd5")
}
<dependency>
<groupId>com.github.confluentinc</groupId>
<artifactId>kafka-connect-jdbc</artifactId>
<version>v10.8.3-rc-4e6a1dd5</version>
</dependency>
libraryDependencies += "com.github.confluentinc" % "kafka-connect-jdbc" % "v10.8.3-rc-4e6a1dd5"
:dependencies [[com.github.confluentinc/kafka-connect-jdbc "v10.8.3-rc-4e6a1dd5"]]
kafka-connect-jdbc is a Kafka Connector for loading data to and from any JDBC-compatible database.
Documentation for this connector can be found here.
To build a development version you'll need a recent version of Kafka as well as a set of upstream Confluent projects, which you'll have to build from their appropriate snapshot branch. See the FAQ for guidance on this process.
You can build kafka-connect-jdbc with Maven using the standard lifecycle phases.
Refer frequently asked questions on Kafka Connect JDBC here - https://github.com/confluentinc/kafka-connect-jdbc/wiki/FAQ
Contributions can only be accepted if they contain appropriate testing. For example, adding a new dialect of JDBC will require an integration test.
For more information, check the documentation for the JDBC connector on the confluent.io website. Questions related to the connector can be asked on Community Slack or the Confluent Platform Google Group.
This project is licensed under the Confluent Community License.