Table of Contents

Class TopicCatalogEvents

Namespace
Virtufin.Api.Services
Assembly
Virtufin.Api.dll

Announces topics new to the catalog on sys.api.topic.catalog.added (api#56), data {topics: [...]}. Best effort, as the state-change events: a failed publish is logged; a client that missed it reads the catalog again (Pubsub.ListTopics) when it resubscribes.

public sealed class TopicCatalogEvents
Inheritance
TopicCatalogEvents
Inherited Members

Constructors

TopicCatalogEvents(DaprClient, DaprComponentOptions, ILogger<TopicCatalogEvents>)

Announces topics new to the catalog on sys.api.topic.catalog.added (api#56), data {topics: [...]}. Best effort, as the state-change events: a failed publish is logged; a client that missed it reads the catalog again (Pubsub.ListTopics) when it resubscribes.

public TopicCatalogEvents(DaprClient dapr, DaprComponentOptions components, ILogger<TopicCatalogEvents> logger)

Parameters

dapr DaprClient
components DaprComponentOptions
logger ILogger<TopicCatalogEvents>

Fields

Topic

public static readonly string Topic

Field Value

string

Type

public static readonly string Type

Field Value

string

Methods

AnnounceAddedAsync(IReadOnlyList<string>, CancellationToken)

public Task AnnounceAddedAsync(IReadOnlyList<string> topics, CancellationToken cancellationToken)

Parameters

topics IReadOnlyList<string>
cancellationToken CancellationToken

Returns

Task