docker-compose -f docker-compose-core.yml -p core up -d
docker-compose -f docker-compose-core.yml -p core down
docker-compose -f docker-compose-core.yml -p core up -d
docker exec -it kafka bash kafka-topics.sh --bootstrap-server localhost:9092 --create --topic t-hello --partitions 1 --replication-factor 1 kafka-topics.sh --bootstrap-server localhost:9092 --list kafka-topics.sh --bootstrap-server localhost:9092 --describe t-hello
kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic t-hello
kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic t-multi-partitions --offset earliest --partition 0
kafka-topics.sh --bootstrap-server localhost:9092 --alter --topic t-multi-partitions --partitions 3
to access UI go to localhost:8080/admin
CDK_ADMIN_EMAIL: "[email protected]" CDK_ADMIN_PASSWORD: "admin"
https://github.com/conduktor/kafka-beginners-course/tree/main/conduktor-platform
idempotent consume
We can use KafkaListenerEndpointRegistry to stop/start consumer. Then use Scheduled(cron) cron expression