Azure-sdk-for-java: [QUERY] Spring - can we specify partition key when producing events to event hubs using azure-spring-cloud-stream-binder-eventhubs?

Created on 8 Mar 2021  路  2Comments  路  Source: Azure/azure-sdk-for-java

Copied from https://github.com/microsoft/spring-cloud-azure/issues/764

Query/Question

I'd like to be able to specify a partition key when producing events to event hubs using azure-spring-cloud-stream-binder-eventhubs.
Is the property spring.cloud.stream.bindings.<channelName>.producer.partitionKeyExpression supported ?

Client azure-spring azure-spring-eventhubs customer-reported question

All 2 comments

We'll check whether to use spring.cloud.stream.bindings.<channelName>.producer.partitionKeyExpression directly in our implementation.

Was this page helpful?
0 / 5 - 0 ratings