internal void RegisterTopic(DaprTopicSubscription topic) { if (this.topics.Add(topic)) { this.log.LogInformation("Registered topic: {PubSubName}/{TopicName} -> {Route}", topic.PubSubName, topic.Topic, topic.Route); } }
internal void RegisterTopic(DaprTopicSubscription topic) { if (this.topics.Add(topic)) { this.log.LogInformation("Registered topic: {TopicName}", topic.Topic); } }
public DaprTopicListener( DaprServiceListener serviceListener, ITriggeredFunctionExecutor executor, DaprTopicSubscription topic) : base(serviceListener) { this.executor = executor; this.topic = topic; serviceListener.RegisterTopic(this.topic); }