This project requires Docker and Docker Compose.
To start all services run the deploy script.
sh ./scripts/deploy.sh
Options for deploy.sh:
--no-rabbitmq | starts without required services to evaluate RabbitMQ |
--no-kafka | starts without required services to evaluate Apache Kafka |
--no-redis | starts without required services to evaluate Redis |
--no-publisher-service | starts without Publisher Service |
--rabbitmq-consumer-instances=NUM | scale rabbitmq-consumer-service to NUM instances |
--kafka-consumer-instances=NUM | scale kafka-consumer-service to NUM instances |
--redis-consumer-instances=NUM | scale redis-consumer-service to NUM instances |
You can access the PublisherService to start sending messages at http://127.0.0.1:9000/swagger/index.html.
The results are logged in the respective consumer service.
docker logs -f SERVICE
To teardown all services run the teardown script.
sh ./scripts/teardown.sh