apache / apache/pulsar-client-node
Creating a subscription with initial position as "earliest"
- 主要言語
- C++
- スター
- 164
- フォーク
- 98
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
My use case: I have a shared subscription with a bunch of consumers. Suppose, all the consumers die and there are messages still being published to the topic. When a new consumer comes in, I want it to read from the last unacknowledged message so that no messages are lost or unprocessed.
So, I want to create a subscription with initial subscription position as `earliest` but I don't see any option to set the initial position. Also, What is default behavior? `earliest` or `latest` ?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、NodeJS クライアントのサブスクリプション作成 API を見つけ、初期位置がどのように選択されるかを追跡します。既存の動作とデフォルトに関するドキュメントを確認し、その後オプションを定義して、新しい consumer が未確認メッセージを失うことなく、要求された位置から開始できることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, nodejs
- 領域
- distributed-systems
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100