[feature request] Support Consumer.getLastMessageId
还没有人认领这个 Issue。
评估
调研方向
首先检查 pulsar-client-node repository 中的 Consumer API,以及现有 C++ client 对 getLastMessageIdAsync 的支持。然后为 Node client 添加所请求的 Consumer 方法,并验证它是否会报告最新消息是否已被读取,包括覆盖具有大量 backlog 的 consumer。
由索引模型根据 Issue 内容生成。
描述
First off, thank you for all the development you do on Pulsar! 😄
Motivation
When combining data from two Consumers by event timestamps and the topics have significant backlog, it gets tricky to make sure that all relevant events have arrived. If we could check from the Consumer whether we have already read the latest message, that would simplify the code.
The C++ client already supports Consumer.getLastMessageIdAsync. (Though the Java client has deprecated the singular version of that method, supposedly due to the Consumers being able to subscribe to several topics concurrently. For us right now the singular version is enough.)
- 主要语言
- C++
- 星标
- 164
- 派生
- 99
- 平均合并
- 5 天 18 小时
- 30 天内合并 PR
- 2
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/pulsar-client-node 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
apache/pulsar-client-node#477 ·
-
难度 4/5 3-5 天 新手友好度 35/100
apache/pulsar-client-node#455 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
apache/pulsar-client-node#432 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 38/100
apache/pulsar-client-node#431 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
apache/pulsar-client-node#429 · 1 条评论 ·
查看 apache/pulsar-client-node 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 65/100
brave/brave-browser#59300 ·
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main 未关闭ai_reviewed
难度 2/5 1-3 小时 新手友好度 70/100
ydb-platform/ydb#53974 · 3 条评论 ·