您需要安装以下内容才能使用C ++客户端:
There are separate compilation instructions for and Linux. For both systems, start by cloning the Pulsar repository:
libprotobuf-dev protobuf-compiler libboost-all-dev google-mock libgtest-dev libjsoncpp-dev
Then compile and install :
最后,在Pulsar repo中编译C ++的Pulsar客户端库:
$ cmake .
MacOS
首先,安装所有必需的依赖项:
然后在您克隆的repo中编译Pulsar客户端库:
$ cd pulsar-client-cpp
$ make