7 writes to EventHubName
Aspire.Hosting.Azure.Tests (2)
AzureEventHubsExtensionsTests.cs (2)
78hb.AddAzureEventHubProducerClient("eventhubns", settings => settings.EventHubName = "hub"); 79hb.AddAzureEventHubConsumerClient("eventhubns", settings => settings.EventHubName = "hub");
AzureFunctionsEndToEnd.ApiService (1)
Program.cs (1)
17builder.AddAzureEventHubProducerClient("eventhubs", static settings => settings.EventHubName = "myhub");
AzureFunctionsEndToEnd.Functions (1)
Program.cs (1)
8builder.AddAzureEventHubProducerClient("eventhubs", static settings => settings.EventHubName = "myhub");
EventHubsApi (1)
Program.cs (1)
10settings.EventHubName = "hub";
EventHubsConsumer (2)
Program.cs (2)
16settings.EventHubName = "hub"; 30settings.EventHubName = "hub";
20 references to EventHubName
Aspire.Azure.Messaging.EventHubs (20)
EventHubBufferedProducerClientComponent.cs (3)
40return new EventHubBufferedProducerClient(settings.FullyQualifiedNamespace, settings.EventHubName, cred, options); 44if (string.IsNullOrEmpty(settings.EventHubName)) 49return new EventHubBufferedProducerClient(settings.ConnectionString, settings.EventHubName, options);
EventHubConsumerClientComponent.cs (3)
41return new EventHubConsumerClient(consumerGroup, settings.FullyQualifiedNamespace, settings.EventHubName, cred, options); 45if (string.IsNullOrEmpty(settings.EventHubName)) 50return new EventHubConsumerClient(consumerGroup, settings.ConnectionString, settings.EventHubName, options);
EventHubProducerClientComponent.cs (3)
39return new EventHubProducerClient(settings.FullyQualifiedNamespace, settings.EventHubName, cred, options); 43if (string.IsNullOrEmpty(settings.EventHubName)) 48return new EventHubProducerClient(settings.ConnectionString, settings.EventHubName, options);
EventHubsComponent.cs (2)
96if (string.IsNullOrWhiteSpace(settings.EventHubName)) 111else if (!string.IsNullOrWhiteSpace(settings.FullyQualifiedNamespace) && string.IsNullOrWhiteSpace(settings.EventHubName))
EventProcessorClientComponent.cs (5)
45options.Identifier ??= GenerateClientIdentifier(settings.EventHubName, settings.ConsumerGroup); 56settings.EventHubName, cred, options); 59if (string.IsNullOrEmpty(settings.EventHubName)) 69settings.EventHubName, options); 108settings.BlobContainerName = $"{ns}-{settings.EventHubName}-{consumerGroup}";
PartitionReceiverClientComponent.cs (4)
43options.Identifier ??= GenerateClientIdentifier(settings.EventHubName, settings.ConsumerGroup); 52settings.EventHubName, 56if (string.IsNullOrEmpty(settings.EventHubName)) 71settings.EventHubName,