TopicDeleteRequest¶
Purpose¶
Delete a pub/sub topic and remove all subscribers.
The request must come from the same engine that created the topic.
Type¶
Reception:
Record with fields:
-
topic
: TopicIdentity Pub/sub topic identity. -
scope
: RoutingScope Whether the topic should be stopped being advertised on the network.
Triggers:
Result
Behaviour¶
The topic is removed from the RoutingTable along with all subscribers.
Message flow¶
sequenceDiagram
%% --8<-- [start:sequence]
Any Local Engine ->>+ Router: TopicDeleteRequest
Router ->>+ PubSub: StopAdvertRequest
PubSub -->>- Router: StopAdvertResponse
Router -->>- Any Local Engine: TopicDeleteResponse
%% --8<-- [end:sequence]