OptionalcodeSource?: CodeSourceWorker-instance defaults, immutable after creation. Delivered to the
worker on every incoming trigger CloudEvent as extension attributes
(the same generic mechanism used for correlationid) -- NOT process
environment variables, so values never leak between workers
co-loaded in the same WorkManager process. A worker's own payload
field (if present on the triggering event) takes precedence; config
is only the fallback.
Secrets by reference: extension-attribute name -> key of the
deployment's worker secret (a Dapr secret store; see
docs/v1/worker-secrets.md). Only the references are persisted and
returned by ListWorkers. The Runtime resolves the values in memory and
stamps them onto every triggering CloudEvent like config, overriding
an attribute of the same name on the event, and drops them from the
worker's outputs. A name must not also be a config key. Runtime-hosted
worker types only.
Sharding. Workers created with the same shard name and size split the events of every topic they share: each event is handled by exactly one member (not a broker consumer group; see docs/v1/delivery.md). Empty shard = a dedicated worker (broadcast, the default).
This member's slot in [0, shard_size). Must be unique among live members that share a topic; StartWorker refuses a duplicate.
The shard's member count. Every live member must use the same value: the event's slot is hash(subject or id) % shard_size.
One or more topics the worker subscribes to. A triggering CloudEvent arriving on any of them is dispatched to this worker.
Generated
from field: virtufin.CodeSource code_source = 1;