A ticket booking example using
- Camunda Cloud,
- RabbitMQ,
- Java Spring Boot App
- NodeJS App
docker run -p 15672:15672 -p 5672:5672 rabbitmq:3-management
- http://localhost:15672/#/queues/
- User: guest
- PAssword: guest
- Login to https://camunda.io/
- Create a new Zeebe cluster
- When the new cluster appears in the console, create a new set of client credentials.
- Copy the client credentials into
- Java App
booking-service-java/src/main/resources/application.proeprties
- Node App
fake-services-nodejs/.env
- Java App
The Zeebe related code can be developed from scratch following this get started tutorial: https://docs.cloud.camunda.io/docs/node-client
cd fake-services-nodejs
ts-node src/app.ts
The Zeebe related code can be developed from scratch following this get started tutorial: https://docs.cloud.camunda.io/docs/spring-java-client
mvn package exec:java -f booking-service-java\
curl -X PUT http://localhost:8080/ticket
Simulate failures by:
curl -X PUT http://localhost:8080/ticket?simulateBookingFailure=seats
curl -X PUT http://localhost:8080/ticket?simulateBookingFailure=ticket