Azure / azure-event-hubs-c

C client library for Azure Event Hubs https://azure.microsoft.com/services/event-hubs
Other
7 stars 18 forks source link

SendBatch: partitionKey is always "sender" #13

Closed alepez closed 7 years ago

alepez commented 7 years ago

Every EventData sent with a Batch has partitionKey "sender" in the EventHub.

How to reproduce: using the provided sample "send_batch", change connectionString with something valid. Run the sample. Inspect arrived events (e.g.: with https://github.com/paolosalvatori/ServiceBusExplorer). Actual partitionKey is sender, expected is PartitionKeyInfo (this is the string provided in the sample).

dcristoloveanu commented 7 years ago

@alepez

I will have a look at this issue, it sounds like a bug to me.

Thanks, /Dan

dcristoloveanu commented 7 years ago

@alepez

I have a temporary fix in the optional_publisherid branch. Updating unittests and then it shall go to master.

Cheers, /Dan

dcristoloveanu commented 7 years ago

@alepez

The fix for this has been checked in to master. I will close the issue now, feel free to open a new one if you have more issues around this.

Thanks, /Dan