Skip to content

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:

TopicDeleteRequestV1

Record with fields:

  • topic: TopicIdentity Pub/sub topic identity.

  • scope: RoutingScope Whether the topic should be stopped being advertised on the network.

Triggers:

TopicDeleteResponseV1

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]
(Wiki) links on this page