Add test to coverage msg with the same packetId
还没有人认领这个 Issue。
评估
调研方向
No file or existing test is named. Start by locating the MQTT packetId handling and related message-consumption tests; add coverage for broker-A consuming msg-1 with packetId=1 before broker-B sends msg-2 with the same packetId, and finish when the test clearly verifies whether msg-2 is discarded.
由索引模型根据 Issue 内容生成。
描述
Motivation
Suppose there are 2 messages in the topic. One is consumed by consumer with packetId=1. but then broker-A crashes and broker-B owns the topic, it will send msg-2 with packetId=1.
Test to coverage if the msg-2 will be discarded.
- 主要语言
- Java
- 星标
- 190
- 派生
- 57
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
streamnative/mop 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 35/100
streamnative/mop#1868 · 5 条评论 ·
-
难度 3/5 1-2 天 新手友好度 25/100
streamnative/mop#1818 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 20/100
streamnative/mop#1765 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
streamnative/mop#1758 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
streamnative/mop#1665 ·
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
ShaftHQ/SHAFT_ENGINE#6909 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
mudler/parakeet.cpp#99 ·
维护者通常 1 天内回复
-
[BUG] Re-subscribing the Mono returned by listTools/listResources/listResourceTemplates/listPrompts/listRoots duplicates the results可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/java-sdk#1174 · 1 个 reaction ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
baomidou/mybatis-plus#7185 ·
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
refinedmods/refinedstorage2#1419 ·