- Java
- Spring Boot
- Docker
- Kubernetes
- Kafka
Java 11
Open different terminals
Go to /kafka-consumer
❯ ./gradlew clean build
cd build/libs cmd :
- java -jar -Dserver.port=7018 -Dspring.profiles.active=production kafka-consumer-0.0.1.jar
- java -jar -Dserver.port=7019 -Dspring.profiles.active=production kafka-consumer-0.0.1.jar
/kafka-consumer ❯ docker build -t kafka-load:tag .
check : docker images
❯ minikube start hyperkit ❯ kubectl apply -f kafka-consumer-deployment.yaml
/usr/local/Cellar/kafka/3.4.0/libexec/bin
❯ ./kafka-consumer-groups.sh --bootstrap-server localhost:9088 --describe --group kafka-rr-group-id