Refer client-spring-boot-starter
's README.md for detailed configuration list.
All the below commands are supposed to be executed inside client-example-springboot
directory
This example uses containers behind the scene to spin up kafka and zookeeper containers.
You can run the containers by executing either of the following commands:
docker compose up -d
lima nerdctl compose up -d
Once the containers are up you can run the Example applications.
For java, run: PriceApplication.java
For kotlin, run: ItemApplication.kt
Above examples, will publish both audit
and log
information to auditTopic
in kafka. To view the results in kafka,
you can use any available kafka explorers tool. For purpose of this readme, we will rely on kafka drop.
Once you have the kafka drop ready and installed in your system, you can view the audit results by checking the auditTopic
in kafka.