Subscribe¶
Purpose¶
Subscribe to a topic at another peer.
Type¶
Reception:
Record with fields:
topic
: TopicIdentity Pub/sub topic identity.
Triggers:
Behaviour¶
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]