EventHubs health check doesn't specify EntityPath / EventHubName causing failure #7814
Labels
area-integrations
Issues pertaining to Aspire Integrations packages
azure
Issues associated specifically with scenarios tied to using Azure
azure-eventhubs
Issues related to Azure Event Hubs integration
Milestone
When you reference an EventHubs namespace, use the emulator, and use an EventHub consumer client, the new EventHubs health checks doesn't create the connection string correctly.
We have this code for the "real clients":
aspire/src/Components/Aspire.Azure.Messaging.EventHubs/EventHubProducerClientComponent.cs
Lines 36 to 48 in 25c6c40
But when we create the EventHubProducerClient for the health check, we aren't doing the check for the EventHubName:
aspire/src/Components/Aspire.Azure.Messaging.EventHubs/EventHubsComponent.cs
Lines 45 to 47 in 25c6c40
Repro Steps
AppHost:
Consumer App:
F5 and hit the Consumer App's
/health
endpoint.Expected results
Should be Healthy
Actual results
The text was updated successfully, but these errors were encountered: