A Apache kafka example with Spring boot. This project requires/depends upon:-
- JDK 1.8
- Maven
- Apache Kafka [2.7.1](https://archive.apache.org/dist/kafka/2.7.1/kafka_2.13-2.7.1.tgz)
- Apache Zookeeper (Included with kafka above)
- Spring boot
- A spring boot java based producer module
- A spring boot java based consumer module
- The Apache kafka (including zookeeper) setup
- Sample curl to send a message from producer to consumer
- Copy the contents of "kafka" to C:
- Use the commands to run apache kafka located [here](https://github.com/iamnav/spring-boot-kafka-example/blob/main/kafka/Run%20commands.txt)
- Start the Producer (Port 8081) and Consumer (Port 8082) locally
- Use the sample curl to verify the messaging
curl --location --request POST 'localhost:8081/kafka/publish' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "Bob", "dept": "IT", "salary": 12345 }'