Skip to content

tomaszkubacki/kafka-connect-demo

Repository files navigation

Kafka Connect Demo

This repository contains set of step-by-step recipes allowing to run and test various Kafka Connect scenarios, using docker and command line interface.

Prerequisites

  1. Install Docker and docker compose

    [!TIP] In case of Ubuntu install docker from snap it has docker compose built in or install docker-compose-v2

  2. Download JDBC Connector (Source and Sink) https://www.confluent.io/hub/confluentinc/kafka-connect-jdbc and unpack jars into data directory in this repo (jars will be mounted as a volume for kafka-connect)

  3. Download the newest schema_wrapping jar (in releases) and put it into the data directory (just like jdbc jars) from my other github repository

Run all required docker containers

Start all required containers at once

docker compose up -d

Clean up

Remove all containers

docker compose down

Demo scenarios

Scenarios assume all docker services are running.

Helper commands

List connector plugins

curl http://localhost:8083/connector-plugins | jq

List connectors

curl http://localhost:8083/connectors

Clean up docker

docker compose down

About

Kafka connect usecases demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages