dapr / dapr/components-contrib
Event Hub: Providing Partition Key in Event Metadata Not Working
Open
kind/bug
pinned
- Dominant language
- Go
- Stars
- 602
- Forks
- 580
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 6
Description
## In what area(s)?
/area runtime
## What version of Dapr?
1.10.5
## Expected Behavior
Using the Dapr .NET SDK, I am trying to bulk publish events to an Azure event hub, while providing a partition key. I am expecting my event hub to receive events whose metadata includes this partition key.
## Actual Behavior
Events received by the event hub do not have a partition key in their metadata.
## Steps to Reproduce the Problem
```
var metadata = new Dictionary
{
["partitionKey"] =
};
await _daprClient.BulkPublishEventAsync(, , telemetryMessages, metadata);
```
## Release Note
RELEASE NOTE:
Contributor guide
Assessment
This issue has not been assessed yet.