apache / apache/pulsar-client-node
producer times out and closes
- 主要言語
- C++
- スター
- 164
- フォーク
- 98
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hello
My use case is for a long running system that produces messages by event triggers (think something like a web server that produces data for pulsar on HTTP events)
I find this works ok for a brief period of time, but then the producer times out and subsequent events then fail to get sent to pulsar
my work around is to open the connection, use the producer to send the data to pulsar, then close the connection every time -- this seems like a waste of time connecting/disconnecting
is there a way (or can there be a way) to make the producer connection long lasting? or auto-reconnecting?
thanks
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
ファイル、テスト、エントリーポイントは指定されていません。まず NodeJS クライアントで長時間実行される producer のタイムアウトを再現し、producer のライフサイクルと接続処理を調査してください。完了の条件は、接続を閉じて再度開くことなく、その後のイベントトリガーによる送信が引き続き機能することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, nodejs
- 領域
- backend, distributed-systems
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100