apache / apache/pulsar-client-node

getRedeliveryCount always return 0

未关闭
#296 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
164
派生
98
PR 合并指标
30 天内没有已合并 PR

描述

Hello,

Is there a way to make `message.getRedeliveryCount()` return the number of time a message has been redelivered?
I hope it's not a problem between the chair and the keyboard, but in my case, the function always returns 0.

I tried to let the default parameters on `subscribe`, but it doesn't change anything.
There is no disconnection of the client between each redelivery.
The message is well nack each time.

i use `pulsar-client` v1.8 and `kezhenxu94/pulsar` pulsar container (pulsar 2.10.0).

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with the message.getRedeliveryCount() and subscribe entry points, then reproduce the behavior using pulsar-client v1.8 against Pulsar 2.10.0 while acknowledging with nack and keeping the client connected. Done means the redelivery count reflects repeated deliveries, or the issue documents the supported behavior and cause of the constant zero.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, nodejs
领域
distributed-systems
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。