Right way to cancel rabbitmq consuming with pika
Right way to cancel rabbitmq consuming with pika Question: I want to implement rpc client using rabbitmq. My code primarily looks like def start(self): while True: self.channel.basic_consume(self.on_delivery) … client.start() // blocking call What is right way to stop this client ? Now I make channel.basic_cancel(self.on_cancel, self.consumer_tag) from another thread. However pika faq says It is …