Skip to content

mnagaa/rabbitmq-python-introduction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rabbitmq-python-introduction

This repository introduces Python implementation of RabbitMQ with Docker for the sake of Machine Learning tasks.
Python 3.7 is adopted in this project because some ML libraries don't support the latest versions (e.g., Python 3.8, 3.9).
If you want to know for details, you should see the official site.

Starting docker containers

First, you build docker containers.

$ docker-compose up

Starting producers

Attaching shell

Attach the shell with:

$ docker exec -it producer bash

In this example,

  • Sending messages to the queues from the producers
  • Consumers process the messages from the queues
$ python producer.py

Check it

Now go to http://localhost:15672/.
You will see the monitoring/admin pages with Username: guest and Password: guest.

Further information

About

rabbitmq-python-introduction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published