docker build . -t kafka-mq
docker tag kafka-mq kafka-mq:v1
docker build . -t conf -f Dockerfile-config
docker tag conf conf:v1
docker -compose up -d zoo1 zoo2 zoo3
docker-compose up -d
- Create topic FIFO_TOPIC with replication=2, partitions=3 using UI
docker-compose kill
docker-compose rm
rm -rf data
- MQ Admin: http://localhost:9991/
- Kafka UI: http://localhost:3030
- Service:
- Post Messages: http://localhost:8080/mq/send?numMessage=100
- MQ Consumer: http://localhost:8080/mq/recv
- Kafka Receiver: http://localhost:8080/kafka/recv
- MQ Admin: https://localhost:3443/
- Kafka UI: http://localhost:9991
- Service:
- Post Messages: http://localhost:6081/mq/send?numMessage=100
- MQ Consumer: http://localhost:6081/mq/recv
- Kafka Consumer Receiver: http://localhost:7081/kafka/consumer/recv
- Kafka Stream Receiver: http://localhost:7081/kafka/stream/recv