Skip to content

hmtrii/multithread_consumer_rmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AN EXAMPLE RABBITMQ MULTITHREAD CONSUMER

This repo assume a consumer that will consume messages from a queue and the worker will process them in a multithread way.

After the job is complete, the consumer send an ack message back to RabbitMQ.

The worker is an simple: src/worker/worker.py.

DEMO

Pre-requisites:

  • Python
  • Pika
  • Running RabbitMQ server

How to run:

Configures in configs.json

Consumer:

python app.py

Publisher: there is an example publisher in file: publisher_example.py

python publisher_example.py

About

An example RabbitMQ multithreading consumer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages