pulsar-client-cpp
pulsar-client-cpp copied to clipboard
Apache Pulsar C++ client library
[example failure](https://github.com/apache/pulsar-client-cpp/actions/runs/3911569384/jobs/6685111475) ``` FAILED TESTS (5/399): 255 ms: ./pulsar-tests ClientTest.testReferenceCount (try #1) 177 ms: ./pulsar-tests ClientTest.testReferenceCount (try #2) 679 ms: ./pulsar-tests ClientTest.testReferenceCount (try #3) 260 ms: ./pulsar-tests ClientTest.testReferenceCount (try #4)...
## Motivation About the chunk config of the `Consumer`, we need to make it exposed in `Reader`. https://github.com/apache/pulsar-client-cpp/blob/74ef1a01f5c7a4604d251de6d040c433f9bbf56b/lib/ConsumerConfigurationImpl.h#L55-L58 **Note**: C API also needs expose.
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Motivation The current java client supports four access modes: `Shared`, `Exclusive`, `ExclusiveWithFencing`, and `WaitForExclusive`....
### Motivation PIP: https://github.com/apache/pulsar/issues/13315 ### Alternatives Refer to Java client impl: https://github.com/apache/pulsar/pull/13316 ### Anything else? Need to depend on #163 first
### 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...
Currently, the log level for C API is hardcoded as `INFO`: https://github.com/apache/pulsar-client-cpp/blob/7a7b3aa5faa802fa354d2b2e41d38ce22241d700/lib/c/c_ClientConfiguration.cc#L81 Therefore, we cannot get the debug log in the C API or Nodejs client. It's better to support...
After a discussion with @momo-jun, I'm trying to add a version dropdown list in the C++ API documents so that we can always link to the latest version. References: *...
Hello, I have the an issue with the pyproj library using Python>=3.9. When I import pyproj first, I have the exact same issue with Pulsar. If I import pulsar first,...
**Describe the bug** Implementation of statistics in cpp client have two concurrency issues. 1. ProducerStatsImpl (and ConsumerStatsImpl) classes use a single shared lock to protect access to internal data. The...