- SpringBoot.pdf / Third Party Package / Servers / Temporal
-
The workflow execution method is blocked.
No available worker can be found in the binding task queue of the current workflow. The workflow may be bound to the wrong task queue that lacks any workers, causing it to be blocked.
-
The workflow has been triggered and displayed in the temporal UI, but the worker is not responding.
-
The delay method doesn't work and executes immediately.
graph TD
subgraph Step 1
A1[WorkflowServiceStubs] -->|Creates| A2([A Work Flow Service Stub])
end
subgraph Step 2
B1[WorkflowClient] -->|Creates| B2([A Work Flow Client])
end
subgraph Step 3
C1[WorkerFactory] -->|Creates| C2([A Worker Factory])
end
subgraph Step 4
C3@{ shape: trap-t, label: "Create and bind a new worker to \n a task queue" }
D1([A Worker])
end
subgraph Step 5
D2@{ shape: trap-t, label: "worker.registerWorkflowImplementationTypes" }
D3@{ shape: trap-t, label: "worker.registerActivitiesImplementations" }
end
subgraph Step 6
D4@{ shape: trap-t, label: "workerFactory.start()" }
end
TEMPORAL@{ shape: cyl, label: "Temporal Server" }
A2 -. Used by .-> B1
B2 -. Used by .-> C1
C2 --> C3
C3 --> D1
C3 --> TEMPORAL
D1 -->|Register Workers| D2
D1 -->|Register Activities| D3
C2 -->|Starts Workers| D4