- Execute Each Request
http://localhost:8080/customerdetails?fastpassid=800 http://localhost:8080/customerdetails?fastpassid=801 http://localhost:8080/customerdetails?fastpassid=802
docker run -d --hostname local-rabbit --name pluralsight-rmq -p 15672:15672 -p 5672:5672 rabbitmq:3.9.9-management
-
Services
-
Start the fastpass-service, then fastpass-ui and toll-rate
-
For Partition-1
mvn spring-boot:run -Dspring-boot.run.arguments=--spring.cloud.stream.instanceIndex=0
-
For Partition-2
mvn spring-boot:run -Dspring-boot.run.arguments=--spring.cloud.stream.instanceIndex=1
-
For Partition-3
mvn spring-boot:run -Dspring-boot.run.arguments=--spring.cloud.stream.instanceIndex=2