apache / apache/pulsar-client-node

Fail on disconnect

オープン
#75 コメント 1 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。