Skip to main content

SENDER_ACTOR_ID

Static SENDER_ACTOR_ID 

Source
pub static SENDER_ACTOR_ID: Key<ActorAddr>
Expand description

Full ActorAddr of the session owner — the actor whose Sequencer assigned this message’s SEQ_INFO. Stamped at SEQ_INFO assignment/install sites: MailboxExt::post, PortHandle::try_post, and CommActor::deliver_to_dest (after V1 installs SEQ_INFO). Paired with the SEQ_INFO value.

Framework-owned: stamping sites OVERWRITE caller-supplied values (do not trust callers to know who owns the session). This attr must never be propagated by handlers via verbatim header forwarding; the framework will overwrite stale forwards on the next ordered send through a trusted site.

Larger than SENDER_ACTOR_ID_HASH (~50-100 bytes vs 8); both kept so the hash remains available for high-cardinality OTel labels.