Azure / Azure/azure-functions-python-library
Queue messages get their id from body of message.
- 主要语言
- Python
- 星标
- 179
- 派生
- 79
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 2
描述
I am not sure if this is intentional but if a message contains an "Id" field it seems to be used as the `id` property in `QueueMessage`. I assume that this has something to do with how the contents of `trigger_metadata` are set (I am unable to identify the origin of the argument). I assume this because of how it is being extacted in `QueueMessageInConverter` and the fact that my messages arrive with the same `body['Id']` and `msg.id`.
Maybe I am completly wrong but I am curious if this is intentional or aviodable somehow, if not I would like to open a discussion about it.
I personally did not expect this behaviour and it required a ugly workaround.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先跟踪 QueueMessageInConverter 和报告中提到的 trigger_metadata 参数,然后将消息正文的 Id 与 QueueMessage.id 进行比较。确定此行为是否是有意的,以及该值的来源。行为得到澄清,并且在行为不正确的情况下由一个针对性的回归测试覆盖,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend, cloud
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100