This directory contains sources of demo apps based on Apache Camel with OpenTelemetry.
The environment is the following:
- Demo apps:
- Apache Kafka
- Jaeger
- OpenTelemetry Collector
- Prometheus
- Grafana
- FileBeat
- ElasticSearch
- Grafana, including:
- Preconfigured datasources for Jaeger, Prometheus and ElasticSearch
- Dashboard for Apache Camel apps
- Dashboard for Logs from ElasticSearch
- Dashboard for Jaeger
You may want to remove any old containers to start clean:
docker rm -f kafka prometheus grafana elasticsearch jaeger otel-collector filebeat tripbooking carbooking flightbooking hotelbooking
We suggest using two terminal windows to start the following components:
- infrastructure components
- demo apps
docker-compose -f compose.yml -f compose.infra.yml up --remove-orphans
docker-compose -f compose.yml -f compose.demo-apps.yml up
Testing tools are following:
- Any HTTP client (web browser, curl, httpie, postman etc.)
- Apache JMeter for generation load
Sync communication (over HTTP):
curl http://127.0.0.1:8080/camel/bookTrip
Async communication (over Kafka):
curl http://127.0.0.1:8080/camel/asyncBookTrip
You can find JMeter project by the link.