Vertx and spring5 webflux (annotations and functional based approaches).
- Gatling load tests.
- get json input
- convert to model
- convert back to json
- return
- mvn clean package - to create fat jars
- all applications are run on 8080 port
- Gatling test can be run from IDE(mvn package first) or via gatling.sh
- Install minikube(need to link kubectl and docker with docker env). Start on windows 10: minikube --vm-driver hyperv --hyperv-virtual-switch primary_virtual_switch start
- Create docker image for vertx cluster project
- kubectl run vertx-cluster --image=vertx-cluster --port=7070 --image-pull-policy=IfNotPresent - create docker deployment
- kubectl expose deployment vertx-cluster --type="LoadBalancer" - expose docker service
- minikube service vertx-cluster --url - to get service url
- kubectl set image deployment/vertx-cluster vertx-cluster=vertx-cluster:v3 - update image
- open dashboard and scale
- run vertx-cluster in minikube
- run redis with enabled Ex (https://redis.io/topics/notifications) in minikube
- update Dockerfile for events-dispatcher with redis host and port(-Dhost, -Dport)
- run events-dispatcher in minikube
- add records with expirations to redis & monitor logs