Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.
In this repository, we will explore Spring support for Kafka and the level of abstractions it provides over native Kafka Java client APIs.
Note: We will be using Kafdrop which is a Web UI for viewing Kafka topics and browsing consumer groups. The tool displays information such as brokers, topics, partitions, consumers, and lets you view messages.
- Make sure to install Docker on your machine
- Go to the root directory of the project where docker-compose.yml is located.
- Run the docker compose by
docker-compose up
Note: Make sure no errors are present on the logs such connection refused etc. Now go to your browser and access http://localhost:9000/ to see an overview of your Kafka cluster, brokers and topics
- Download STS version 3.4.* (or better) from the Spring website. STS is a free Eclipse bundle with many features useful for Spring developers.
- Right-click on the project or the main application class then select "Run As" > "Spring Boot App"
Contact me at junbetterway
Happy coding!!!