apache / apache/pulsar-client-node

Fail on disconnect

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

描述

Is there/should there be a way to fail a subscription when disconnected from the server?

I would normally crash the process when this happens..

However

```
const msg = await consumer.receive();
```

just seems to wait forever with debug output indicating retrying but operationTimeoutCeconds having no effect.

贡献指南

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

调研方向

Start at the consumer.receive() call shown in the issue and trace how disconnect retries and operationTimeoutCeconds are handled. Determine the expected behavior when the server disconnects, then add coverage demonstrating that a subscription fails rather than waiting indefinitely.

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

评估

技术栈
javascript, node.js
领域
distributed-systems
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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