Skip to main content

worker_direct

Return the :class:kombu.Queue being a direct route to a worker.

def worker_direct(
hostname: str | Queue
) - > Queue

Return the :class:kombu.Queue being a direct route to a worker.

Parameters

NameTypeDescription
hostname`strQueue`

Returns

TypeDescription
QueueA queue instance configured for direct communication with the specified worker node, or the original queue if one was provided.