You should config the producer enviroment to run consumer, see:
Producer:
https://github.com/adrianadelnero/kafka-producer.git
Build application:
mvn clean install
Run application:
mvn spring-boot:run
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Boot Actuator
- Spring for Apache Kafka
- Spring Data JPA
The following guides illustrate how to use some features concretely: