-
Notifications
You must be signed in to change notification settings - Fork 206
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
[Bug] Event Hubs trigger binding missing correlation id #931
Labels
Comments
Hello @MihailV1989 Thankyou for reporting will check and let you know furtherly |
Hello @MihailV1989 could you please paste the local.setting.json code here. |
Hi @JAdluri , yes, but I have to remove sensitive data.
|
Hello @MihailV1989 the python interpreter version is 3.11? |
Hello @JAdluri , yes, it is 3.11 |
We are able to reproduce the issue and will continue to triage and get back on the issue . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Calling inputEvent.metadata["SystemProperties"]["correlation-id"] should return the correlation id as a string/bytes (inputEvent: azure.functions.EventHubEvent), see:
https://learn.microsoft.com/en-us/python/api/azure-eventhub/azure.eventhub.eventdata?view=azure-python#azure-eventhub-eventdata-system-properties
Actual Behavior
I receive an empty dict {} for the correlation-id. The whole "SystemProperties" dict looks like this:
{'message-id': {}, 'user-id': {'Length': 0, 'IsEmpty': True}, 'correlation-id': {}, 'content-type': 'application/json', 'x-opt-sequence-number-epoch': -1, 'x-opt-sequence-number': 90, 'x-opt-offset': 2479216, 'x-opt-enqueued-time': '2025-01-24T12:17:14.808+00:00', 'SequenceNumber': 90, 'Offset': 2479216, 'PartitionKey': None, 'EnqueuedTimeUtc': '2025-01-24T12:17:14.808'}
Steps to Reproduce
Relevant code being tried
Relevant log output
requirements.txt file
Where are you facing this problem?
Production Environment (explain below)
Additional Information
The Azure Function is hosted in B2 App Service Plan, communication goes through private VNet without any public access and everything is deployed in West Europe.
Function runtime version is 4
Python Version is 3.11
host.json:
The text was updated successfully, but these errors were encountered: