Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.99 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.99 KB

FOSSA Status

Kafka connect wrapper

This is just a small, easy-to-use wrapper for Kafka Connect It can be practical sometimes for PoC or testing data flows.

Directory structure:

/opt/bin                         <-- scripts
/opt/config                      <-- default logging configuration (default is empty)
/opt/libs                        <-- all dependency jar files
/opt/connect-config/worker/      <-- Kafka connect worker properties
/opt/connect-config/source/      <-- Kafka connect source properties
/opt/connect-config/sink/        <-- Kafka connect sink properties

Docker container ( Dockerfile ) will run connect-default.sh by default. It will try to collect configuration from /opt/connect-config/ directories, then start a Kafka Connect standalone instance.

Running

If you prepared your configuration in folder structure above, you can run this command:

CURRENT_DIR=`pwd`
docker run -d --rm \
    --volume /$CURRENT_DIR/source:/opt/connect-config/source  \
    --volume /$CURRENT_DIR/sink:/opt/connect-config/sink  \
    --volume /$CURRENT_DIR/worker:/opt/connect-config/worker  \
    lsmaster/kafka-connect-wrapper

Documentation

You can find some development documentation here.

Some additional articles, notes are available here

Example application: frx-crypto-scrape-demo-ms

License

FOSSA Status