Skeleton project to help a Java developer create their first Kafka Connect connector.
Video walkthrough of how to use this can be found at https://dalelane.co.uk/blog/?p=5052
./00-check-prereqs.sh
Checks you have Java and Maven needed for the rest of the instructions
./01-download-kafka.sh
Downloads and unzips Kafka.
./02-run-kafka.sh
./03-consume-file-topic.sh
Start listening to the topic
./04-run-file-connector.sh
Run the source connector that puts the contents of input-file.txt
to the Kafka topic.
See the file contents show up in the 03-consume-file-topic.sh
output.
Add additional lines to the file to confirm the connector is still running.
./05-build-connectors.sh
Compile the custom connector.
Edit sink-connector.properties
with an API key and channel ID from Slack
./06-run-sink-connector.sh
Run the connector.
./07-produce-my-topic.sh
Produce messages to the Kafka topic.
See the messages show up in your Slack channel.
./05-build-connectors.sh
Compile the custom connector.
Edit source-connector.properties
with an API key from weatherapi.com
./08-consume-my-topic.sh
Start listening to the topic
./09-run-source-connector.sh
Run the connector.
See weather events show up on the Kafka topic.