[BUG] "PartitionId" is mispelled as "PartionId" in EventHubTriggerInput logs #48460
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Event Hubs
issue-addressed
Workflow: The Azure SDK team believes it to be addressed and ready to close.
Milestone
Library name and version
Azure.Messaging.EventHub 6.3.5
Describe the bug
Minor issue only observed in logs:
In the GetTriggerDetails function, the label for the PartitionId is mispelled as "PartionId":
{ "PartionId", context.PartitionId },
The label appears in various messages in App Insights related to the Event Hub Triggers, as well as the customDimensions field.
I am opening this bug entirely because I was trying to put together a query using Partition ID as one of the columns and spent a few minutes wondering why "customDimensions.prop__PartitionId" was showing as empty.
Link to the line:
azure-sdk-for-net/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Triggers/EventHubTriggerInput.cs
Line 86 in 6fcabfc
Expected behavior
The label should be "PartitionId". It appears it has been mispelled for as long as this file has existed in this repo.
Actual behavior
Example output from App Insights, message field:
CustomDimensions field:
Reproduction Steps
Enable App Insights Logging for any Azure function that uses an Event Hub trigger and the Azure.Messaging.EventHub package.
Environment
All environments
The text was updated successfully, but these errors were encountered: