79075724

Date: 2024-10-10 18:34:39
Score: 0.5
Natty:
Report link

I accomplished it via calling stop_consuming call in the callback. Rest of the callback code just processed the single consumed message.

def callback(ch, method, properties, body):
        ch.stop_consuming()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: tkarahan