Simple project to validate Golang libs for Kafka producers and consumers.
The use case is segregate into two applications:
- Producer: Offer two HTTP interfaces to produce information into Kafka with synchronous producer
- Consumer: Consume two different topics with Kafka consumer group
./start-infra.sh
./build-images.sh
./start-apps.sh
./send.sh
- access
cd conf
and executedocker-compose up
to start monitoring tools
Metrics:
- Access Grafana
- http://localhost:3000/login
- login: admin/admin
- Configure prometheus data
- Add new datasource -http://localhost:3000/datasources/
- Configure prometheus URL
- prometheus:9090
Obs: filter by job name{job=~".*consumer"}
Logs:
- Access Kibana
- Create index
- http://localhost:5601/app/discover
- Create an index for
fluentd-*