BewareMyPower commented on code in PR #17580: URL: https://github.com/apache/pulsar/pull/17580#discussion_r969626509
########## site2/docs/client-libraries-cpp.md: ########## @@ -4,298 +4,173 @@ title: Pulsar C++ client sidebar_label: "C++" --- -You can use Pulsar C++ client to create Pulsar producers and consumers in C++. +````mdx-code-block +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; +```` -All the methods in producer, consumer, and reader of a C++ client are thread-safe. +You can use a Pulsar C++ client to create producers, consumers, and readers. -## Supported platforms +All the methods in producer, consumer, and reader of a C++ client are thread-safe. You can read the Doxygen-generated [API docs](/api/cpp) for the C++ client -Pulsar C++ client is supported on **Linux**, **macOS** and **Windows** platforms. +## Installation -Doxygen-generated API docs for the C++ client are available [here](/api/cpp). +Use one of the following methods to install a Pulsar C++ client. -## Linux +### Brew -:::note - -You can choose one of the following installation methods based on your needs: Compilation, Install RPM or Install Debian. +Install the latest tagged version with the library and headers: -::: - -### Compilation +```bash +brew install libpulsar +``` -#### System requirements +For more information, read [libpulsar formula's homepage](https://formulae.brew.sh/formula/libpulsar). -You need to install the following components before using the C++ client: +### Deb -* [CMake](https://cmake.org/) -* [Boost](http://www.boost.org/) -* [Protocol Buffers](https://developers.google.com/protocol-buffers/) >= 3 -* [libcurl](https://curl.se/libcurl/) -* [Google Test](https://github.com/google/googletest) +1. Download any one of the Deb packages: -1. Clone the Pulsar repository. +<Tabs> +<TabItem value="client"> -```shell -git clone https://github.com/apache/pulsar +```bash +wget @pulsar:deb:client@ Review Comment: Could you explain what does `@pulsar:deb:client@` mean? I see it doesn't change even in the preview page. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
