Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Setting partition-key in log-to-eventhub policy in API management

$
0
0

I have an API that is set up in API management, and I'm using the log-to-eventhub policy to send data to an event hub after an API call. Is there a way to use data within the request to set the partition-key value in the policy? What kinds of values can I pass to the partition-key attribute?

Can I use policy expressions like these?:  https://msdn.microsoft.com/library/azure/dn910913.aspx#PolicyExpressionsUsage

Do you have any examples of partition-keys passed with this policies that aren't just constant strings? I'm having trouble finding any examples of this.



Viewing all articles
Browse latest Browse all 1916

Trending Articles