{"repo":"apache/pulsar-client-cpp","free":true,"listed":false,"github":"https://github.com/apache/pulsar-client-cpp","clone":"git clone https://github.com/apache/pulsar-client-cpp.git","description":"Apache Pulsar C++ client library","language":"C++","stars":71,"topics":["event-streaming","messaging","pubsub","pulsar","queuing","streaming"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"Pulsar C++ client library Pulsar C++ clients support a variety of Pulsar features to enable building applications connecting to your Pulsar cluster. For the supported Pulsar features, see Client Feature Matrix. For how to use APIs to publish and consume messages, see examples. Custom logger lifetime The C++ client supports one custom logger factory per process. A logger configured through ClientConfiguration::setLogger or the C API logger functions is shared by all clients in the same process and is not scoped to an individual client instance. Set the custom logger before creating clients, and do not expect different clients to have independent log handlers. If an application or language binding exposes logger callbacks, the callback and its context must remain valid until all Pulsar clients are closed and no background thread can emit client logs. Avoid tying the callback lifetime to a single client when multiple clients can exist in the process. Import the library into your project CMake with vcpkg integration Navigate to vcpkg-example for how to import the pulsar-client-cpp into your project via vcpkg. Download pre-built binaries For non-vcpkg projects, you can download pre-built binaries from the official release page. Generate the API documents Pulsar C++ client uses doxygen to build API documents. After installing doxygen , you only need to run doxygen to generate the API documents whose main page is under the doxygen/html/index.html path. Build with vcpkg Since it's in","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/pulsar-client-cpp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}