refer:https://docs.celeryproject.org/en/stable/userguide/routing.html#routing-automatic
# Automatic routing
app.conf.task_queues = {
'vucan': {
'exchange': 'vu_ex',
},
}
app.conf.task_routes = {
'workers.vul_scan.*': {
'queue': 'vucan',
'routing_key': 'vucan',
}
}