-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Support partitionID in Azure eventhub input #36907
Comments
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
I can confirm that the new SDK works. I tested this basic example: https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/messaging/azeventhubs/example_consuming_events_test.go I sent a message to an eventhub and specified the partitionKey then read the message and got the partitionKey:
By the way, it turns out I was looking for PartitionKey, not PartitionID. But both should be available with the new SDK. |
Hi! We're labeling this issue as |
Describe the enhancement:
Currently partitionID is not supported in Azure eventhub input. It's commented out in the code because Azure SDK apparently doesn't support it. See commented out code here: https://github.com/elastic/beats/blob/main/x-pack/filebeat/input/azureeventhub/input.go#L197
and here: https://github.com/elastic/beats/blob/main/x-pack/filebeat/input/azureeventhub/eph.go#L77
Is this still the case?
As far as I can see partitionID is supported: https://github.com/Azure/azure-event-hubs-go
Describe a specific use case for the enhancement or feature:
PartitionID is very useful for downstream applications consuming eventhub data, we use MQTT topic strings in our partitionID and use this to route data.
The text was updated successfully, but these errors were encountered: