-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to specify partition key on EventHub output binding #18
Comments
PartitionKey is part of the metadata properties. https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-hubs#trigger---event-metadata Sending a POJO with partitionkey should work. |
cc: @mhoeger |
cc: @paulbatum |
Related issue on EventHubs extension: Azure/azure-sdk-for-net#28245 |
given the context in Azure/azure-sdk-for-net#28245, @amamounelsayed please sync up @alrod before finalizing structure of the EventHubMessage Type. |
cc @mathewc Note: AsyncCollector.cs is used by functions host to send output binding content to extensions sdk |
@pragnagopa this is the example that I was talking about https://docs.microsoft.com/en-us/java/api/com.microsoft.azure.functions.annotation.tableoutput?view=azure-java-stable I need to test it to make sure it is working. |
@amamounelsayed - Please look through table extension sdk and to confirm how partitionkey is being set on the output binding |
Here is the POCO to TableEntity converter that is taking care of populating partitionKey: |
This is being handled with an out-of-band update. Closing as there's no action to be taken |
Today for C# functions if you send
EventData
type to the output binding you can define a system property for partition key which is honored when sending the message. Today the Java output binding appears to only support string or byte [] which give no way to specify partition keyThe text was updated successfully, but these errors were encountered: