From the course: AI Data Pipelines with Spring
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
API Spring Cloud Stream source with RabbitMQ
From the course: AI Data Pipelines with Spring
API Spring Cloud Stream source with RabbitMQ
- [Instructor] In this section, I'll start our first spring cloud stream application that uses RabbitMQ as a messaging system. The first thing I need to do is set up RabbitMQ. Let me open up a terminal. Just like we've ran with Postgres, I'm running RabbitMQ inside of Docker with the Docker run command. I'm providing the name of the container. I'm specifying to remove the container after the completion of RabbitMQ, but I'm also providing some ports. So there's the default port to send messages to RabbitMQ, which is 5672, and there's also a port to interact with the management console, which is 15672. And the name of the image is this RabbitMQ 410 management. Let me go ahead and hit Enter. Alright, so it looks like RabbitMQ is now up and running. I can go ahead and open up a browser on local hosts and specifying the port as 15672. Here, I need to log into RabbitMQ and I'll use the default username and password, which is guest, and the password is guest. Alright, so here we have…