Skip to content

Subscribe

Purpose

Subscribe to a topic at another peer.

Type

Reception:

TopicRequestV1

Record with fields:

Triggers:

SubscribeAck

Behavior

The peer the request arrived from is added to the PubSubRoutingTable, and a SubscribeAck is returned in response.

Message flow

sequenceDiagram

%% --8<-- [start:sequence]
PubSub ->>+ PubSub_R: Subscribe
PubSub_R -->>- PubSub: SubscribeAck
%% --8<-- [end:sequence]