This Project covers how to use Spring Boot with Spring Kafka to Publish JSON/String message to a Kafka topic
Please feel free to modify the server port. The current state uses 8081 as server port.
Please follow this URL to download and start Zookeeper server.
bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.properties
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic Kafka_Example
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic Kafka_Example --from-beginning