diff --git a/src/Messaging/NBB.Messaging.Rusi/DependencyInjectionExtensions.cs b/src/Messaging/NBB.Messaging.Rusi/DependencyInjectionExtensions.cs index 13f2c0c4..e5bdcb79 100644 --- a/src/Messaging/NBB.Messaging.Rusi/DependencyInjectionExtensions.cs +++ b/src/Messaging/NBB.Messaging.Rusi/DependencyInjectionExtensions.cs @@ -64,9 +64,6 @@ public static IServiceCollection AddRusiTransport(this IServiceCollection servic if (string.IsNullOrEmpty(options.RusiPort)) options.RusiPort = Environment.GetEnvironmentVariable("RUSI_GRPC_PORT"); - if (string.IsNullOrEmpty(options.PubsubName)) - throw new ArgumentNullException("Rusi.PubsubName"); - if (string.IsNullOrEmpty(options.RusiPort)) throw new ArgumentNullException("Rusi.RusiPort"); });