apache / apache/pulsar-client-cpp

[feature request] Support consumer client memory limit

未關閉
#161 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
71
分支
90
平均合併
2 小時 33 分鐘
30 天內合併 PR
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 討論。追蹤消費者記憶體的管理方式,並將完成定義為:用戶端設定能一致地控制消費者的記憶體使用量,且測試涵蓋此限制。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cpp
領域
distributed-systems
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。