Skip to content

joshuamhtsang/rabbitmq_with_threading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rabbitmq_with_threading

Proof of concept for using threading in RabbitMQ consumers

Build the RabbitMQ image

$ docker build --tag rabbitmq:try_threading .

$ docker run -d --hostname my-rabbit --name rabbitmq_threading_test -p 8080:15672 -p 5672:5672 rabbitmq:try_threading

You can now login to the Management UI at: http://localhost:8080/ For login use 'joshua' and 'guest' (this can be changed if you desire in the UI).

Now you can spin up the consumer:

$ python3 consumer.py

Now you can publish the following message into the 'eric.request' queue:

{ "number": 10 }

About

Proof of concept for using threading in RabbitMQ consumers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published