-
Notifications
You must be signed in to change notification settings - Fork 205
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] Storage queue trigger overwrites message ID with id in message body #882
Comments
Thanks for reporting will check and update. |
Hi @uberger, it's an ID that is different from the message ID because when we insert a new item, it gets generated as a new autoincrement unique ID for ref you cen see in image. |
Thanks @bhagyshricompany for looking into this. Yes, I see the same behavior and understand that the
Though, it prints the Maybe worth mentioning: If I send a message that does not contain an |
Indeed, if I don't use My problem is, that the design of the JSON string is outside of my control. The message I receive will definitely contain a JSON item with the name |
Hey @uberger thanks for your patience. I looked into this issue and here are some things that I found:
Need the extension team to check and see how this can be addressed |
Hello, I had the same issue, and I found a work around.
|
Hi, @Zzappy24 , thanks for your contribution. I also use the |
Investigative information
Please provide the following:
Repro steps
Provide the steps required to reproduce the problem:
func new --name QueueTriggerFunc
.function.json
toAzureWebJobsStorage
.__init__.py
to bepython-queue-items
.func start
.python-queue-items
with message body:Expected behavior
Provide a description of the expected behavior.
In the console output, the
MessageId
reported by the 'Trigger Details' should match the one one reported by the line starting withmsg.id
.Actual behavior
Provide a description of the actual behavior observed.
MessageId
reported by the 'Trigger Details' is the correct, generated value, e.g.cf333465-97d3-4507-b50c-7b69308640d9
.msg.id
in the function code is overwritten with the value from the message body:00000000-aaaa-0001-0003-00000000aaa1
Contents of the requirements.txt file:
Provide the requirements.txt file to help us find out module related issues.
The text was updated successfully, but these errors were encountered: