conductor client

Conductor tasks that are executed by remote workers communicate over HTTP endpoints/gRPC to poll for the task and update the status of the execution.

Client APIs

Conductor provides the following java clients to interact with the various APIs

Client Usage
Metadata Client Register / Update workflow and task definitions
Workflow Client Start a new workflow / Get execution status of a workflow
Task Client Poll for task / Update task result after execution / Get status of a task

 

Java

Worker

Conductor provides a framework to poll for tasks, manage the execution thread and update the status of the execution back to the server.

Implement the Worker interface to execute the task.

WorkflowTaskCoordinator

Manages the task workers thread pool and server communication (poll, task update and ack).
The WorkflowTaskCoordinator can be used to register the worker(s) and initialize the polling loop.

Published 184 original articles · won praise 32 · views 110 000 +

Guess you like

Origin blog.csdn.net/wjandy0211/article/details/103288183