Queues with random GUID being generated in RabbitMQ server

后端 未结 1 400
感情败类
感情败类 2021-01-24 15:58

Queues with a random GUID are being generated comming from exchange \'celeryresults\'.

This happened when I fired a task from the shell, using delay method, but I forgot

相关标签:
1条回答
  • 2021-01-24 16:18

    There is a difference between the broker (sends/receives messages) and backend (stores/fetches task results) in celery. It sounds like you are using RabbitMQ both as the message broker and the result backend.

    When RabbitMQ is used as a result backend, celery creates one queue per task to temporarily keep track of the result. This is described in the RabbitMQ Result Backend section of the docs.

    If you don't want this behavior then you should either turn it off using CELERY_IGNORE_RESULT or switch to one of the other backend implementations listed in the Result Backend Settings.

    0 讨论(0)
提交回复
热议问题