Skip to content

Latest commit

 

History

History

client-example-springboot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Auditor-v1 client-example-springboot

Configurations

Refer client-spring-boot-starter's README.md for detailed configuration list.

Running locally

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:

Using docker:

docker compose up -d

Using lima-vm:

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.