apache / apache/pulsar-client-cpp
[feature request] Support consumer client memory limit
- 主要语言
- 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