apache / apache/pulsar-client-cpp
[feature request] Support consumer client memory limit
- 主要言語
- C++
- スター
- 71
- フォーク
- 90
- 平均マージ
- 2時間 33分
- マージ済み PR(30日)
- 3
説明
### Motivation
The current CPP client supports memory limits by the client.
https://github.com/apache/pulsar-client-cpp/blob/872f8abaade7ecd346d3f59e2f6b3901c65ef7de/include/pulsar/ClientConfiguration.h#L36-L42
But this configuration does not limit the consumer's memory usage, We need to support consumer memory control first and use this parameter control uniformly.
### Alternatives
Refer to PIP: https://github.com/apache/pulsar/pull/15216
Refer to comment: https://github.com/apache/pulsar/pull/16903#pullrequestreview-1058047687
After this, we can control the memory limit through the client config.
### Anything else?
コントリビューションガイド
調査の方向性
include/pulsar/ClientConfiguration.h にあるクライアントのメモリ制限設定から始め、次に参照されている Pulsar PIP と、提案されたアプローチに関する pull request の議論を読んでください。consumer のメモリがどのように管理されているかを追跡し、クライアント設定によって consumer のメモリ使用量が一貫して制御され、テストで制限がカバーされていることを完了条件としてください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- distributed-systems
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100