apache / apache/pulsar-client-cpp
[feature request] Support consumer client memory limit
Open
- Dominant language
- C++
- Stars
- 71
- Forks
- 90
- Avg merge
- 2h 33m
- Merged PRs (30d)
- 3
Description
### 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?
Contributor guide
Assessment
This issue has not been assessed yet.