These Talend jobs 1) create a Kafka topic, 2) wait for messages to appear on that topic (Consumer) and 3) read a list of JSON files, extract the contents, convert to a Kafka message and then send the message to the Kafka topic (Producer).
$ tar -xzf kafka_2.13-3.2.0.tgz
$ cd kafka_2.13-3.2.0
# Start the ZooKeeper service
# Note: Soon, ZooKeeper will no longer be required by Apache Kafka.
$ bin/zookeeper-server-start.sh config/zookeeper.properties
# Start the Kafka broker service
$ bin/kafka-server-start.sh config/server.properties
Now once all services have successfully launched, run this job to create a topic.
Start this job to consume Kafka messages:
Then run this job to produce the Kafka messages. Return to the job above to see the received Kafka messages.