M
M
Mr_Sinister2017-01-23 01:29:08
Python
Mr_Sinister, 2017-01-23 01:29:08

How to implement multiprocessing processing of messages from the queue?

Good evening. Tell me, how can I implement multiprocessing processing of messages received from RabbitMQ? I am using Pika module.
Creating a connection in each process is not an option (it must be one and be in the parent process). In this case, there must be access to the channel in order to notify the broker about ack / nack and send the result to another queue.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question