Skip to main content

OPERATOR_PREFIX

Constant OPERATOR_PREFIX 

Source
pub const OPERATOR_PREFIX: &str = "operator:";
Expand description

The marker that tells an operator destination from a caller’s webhook.

Both live in one PushStore, because they are the same durable structure — a URL and a journal cursor — and a second table would be a second copy of the retry and acknowledgement logic. They must not be confused for one another though: an operator’s CloudEvents message delivered to a peer’s A2A webhook is a disclosure, and a StreamResponse posted to the deployment’s bus is a malformed event nobody parses.

So the id namespace is split by a prefix that a caller cannot use — the A2A server refuses a pushNotificationConfig.id beginning with it — and each worker declares its half through Projection::namespace, which the store’s due query filters on.