Steps:
- Create docker compose files as per need configs (clone for simplicity...)
demo/
├── elk-docker-compose.yml
├── kafka-docker-compose.yml
└── logstash/
└── pipeline/
└── pipeline.conf
- Run docker compose files
docker-compose -f kafka-docker-compose.yml -f elk-docker-compose.yml up -d
- Start services (service1, service2) (with kafka configs in log4j as kafka configs on compose file)
- after running hit an API call to endpoint in service1 that hits another service.