This is a simple Spring application integrated with Kafka System . This will be used if there is a large number of hit comes to systems to process data. Typically in the centralized Auditing Scenario as an example.
We are done with the required Java code. Now lets start Apache Kafka.
- Go to Kafka bin Directory
- If Windows go to the bin directory and type the beow command. Before we start Kafka server make sure zookeeper is running .
- Start the zookeeper using the below command. (ZooKeeper configuration : make sure you update the log directory and groups in config files)