This repository contains modern approach to build webapp these days: here is and example of webflux application with reactive data flow for @Tailable capped collection of embedded mongodb and embedded kafka message broker. application is fully asynchronous and non blocking
# gradle # or maven bash ./gradlew # or `bash ./mvnw` java -jar build/libs/*.jar # or `java -jar target/*.jar`
curl 127.0.0.1:8080 open http://127.0.0.1:8080 # browser
http :8080/api/v1/save-message body=mongodb
http :8080/api/v1/send-message body=kafka