Tutorial - Event-Driven Microservices: Spring Boot, Kafka and Elastic - from Ali Gelenler (Udemy)
docker-compose -f common.yml -f kafka_cluster.yml up
docker run --tty --network host confluentinc/cp-kafkacat kafkacat -b localhost:29092 -L
-L
- list-b
- brokersdocker run --rm --tty --network host confluentinc/cp-kafkacat kafkacat -b localhost:29092 -C -t twitter-topic
docker container ls -a --filter ancestor=confluentinc/cp-kafkacat
- list useless containersdocker container rm $(docker container ls -a --filter ancestor=confluentinc/cp-kafkacat -q)
- remove all containers by image nameart-gelenler-event-driven-config-repo
repo
GITHUB_ACCESS_TOKEN = {Paste token here}
separate-remote-git-repo
spring profile to start applicationsdk install springboot
ls ~/.sdkman/candidates/
cd ~/.sdkman/candidates/springboot
spring install org.springframework.cloud:spring-cloud-cli:3.1.1
spring encrypt PLAIN_TEXT --key KEY
docker-compose -f common.yml -f elastic_cluster.yml up
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
wsl -d docker-desktop
sysctl -w vm.max_map_count=262144
vm.max_map_count = 262144
to /etc/sysctl.confENCRYPT_KEY must be provided through System Environment Variables
docker-compose up -d
docker-compose --profile=debug up -d
(with adminer, kibana)docker-compose --profile=app up -d