Will worker create new sticky task queue if workflow task timesout?

Hi Team,

Suppose I have a worker 1 polling on sticky task queue tq_1_a and due to workflow task timeout, task was placed on normal task queue and worker 2 picked up the task and it timed out again. Now if worker 1 picks up the task, will it create new sticky task queue say tq_1_b or will it reuse tq_1_a?

Also, how will we know if workflow task was retried due to timeout?

A sticky task queue is created per worker process, and its lifecycle is unrelated to individual workflows. So unless worker one is restarted, it will listen to the same sticky task queue.

1 Like