config carries worker-instance defaults, immutable after creation and
delivered to the worker as CloudEvent extension attributes on every
triggering event (never process env vars, so values cannot leak between
workers co-loaded in one WorkManager process). A worker's own payload
field takes precedence; config is the fallback. tags is free-form
metadata. secrets maps attribute names to keys of the deployment's
worker secret: only these references are stored, and the Runtime stamps
the values onto every triggering event (docs/v1/worker-secrets.md).
Both are proto fields 4 and 5 of CreateWorkerRequest.
Hand a running worker one command synchronously and get its outputs back
(they are not published). The command becomes a CloudEvent of type
com.virtufin.workmanager.worker.command with the name in the command
extension and payload as data. A worker that is not running fails with
FAILED_PRECONDITION.
Wait for an asynchronously created worker to finish loading.
CreateWorker returns as soon as the worker is registered (status
LOADING); its code and dependencies load in the background. A
StartWorker sent meanwhile is deferred until loading completes. Polls
the worker's status until it leaves LOADING.
Create a worker.
configcarries worker-instance defaults, immutable after creation and delivered to the worker as CloudEvent extension attributes on every triggering event (never process env vars, so values cannot leak between workers co-loaded in one WorkManager process). A worker's own payload field takes precedence; config is the fallback.tagsis free-form metadata.secretsmaps attribute names to keys of the deployment's worker secret: only these references are stored, and the Runtime stamps the values onto every triggering event (docs/v1/worker-secrets.md).Both are proto fields 4 and 5 of CreateWorkerRequest.