-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I have multiple workers that subscribe with the following code:
this._bus.SubscribeAsync<Message>(this.OnMessageReceived,
config =>
{
config.WithSubscription(this._configuration["SubscriptionId"]);
config.WithTopic(this._configuration["Topic"]);
});When I fire the workers up for the first time they all hit "TopicDeclare" and try and create the topic, which makes two of them crash with Conflict errors:
They start up again fine, as the next time they run they can see the topic already there so don't try and create it.
I guess the topic creation needs some code to handle conflicts and back off for a period then re-check if the topic exists?
Metadata
Metadata
Assignees
Labels
No labels
