title: How do I set consumer priority in celery - rabbitmq set up?
body: <p>To implement data locality, I need consumer priorities in my celery - rabbitmq set up, i.e, consumer picking up tasks from certain queue with a preference.</p>
  
  <p>I found that Rabbitmq supports consumer priority:
  <a href="https://www.rabbitmq.com/consumer-priority.html" rel="nofollow">https://www.rabbitmq.com/consumer-priority.html</a></p>
  
  <p>How can I use this feature? </p>
  
  <p>In case it is not already implement how can I implement it?</p>
  
  <p>In the rabbitmq example code (provided in the link), <code>x-priority</code> argument has been and provided to basicConsume. How can I implement this in celery code?</p>