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