We have already started the RabbitMQ broker using its Docker image in the previous chapters, so it is worth reminding ourselves of that command. It starts a standalone Docker container with RabbitMQ, available under port 5672, and its UI web console, available under port 15672:
docker run -d --name rabbit -p 15672:15672 -p 5672:5672 rabbitmq:management
The default RabbitMQ address should be overridden with the spring.rabbit.* properties inside the application.yml file:
spring: rabbitmq: host: 192.168.99.100 port: 5672
By default, Spring Cloud Stream creates a topic exchange for communication. This type of exchange better suits the publish/subscribe interaction model. We may override it with ...