The project builder by spring initializer with java 8 and spring 2.7.0.
docker-compose up -d The server is on the port 29092
Execution the command of terminal mvn spring-boot:run
the server should be access for url http://localhost:8080/
.
[GET] http://localhost:8080/api/v1/kafka/publish?message=Hi%20kafka
[POST] http://localhost:8080/api/v1/kafka/publish
{ "id": 1, "firstName": "Rafael", "lastName": "Cintra" }