Skip to content

Commit

Permalink
add related doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jiazhai committed Mar 3, 2020
1 parent faa307b commit 617d71c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pulsar-client-cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ lib/libpulsar.so
lib/libpulsar.a
```

> Note
> This `libpulsar.a` does not statically link OpenSSL. This can avoid the conflict when user want to use local OpenSSL,
> and OpenSSL can get easy update once security issue arise and new version is needed.
##### Tools will be placed in

```
Expand Down
6 changes: 5 additions & 1 deletion site2/docs/client-libraries-cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ There are recipes that build RPM and Debian packages containing a
statically linked `libpulsar.so` / `libpulsar.a` with all the required
dependencies.

> Note
> This `libpulsar.a` does not statically link OpenSSL. This can avoid the conflict when user want to use local OpenSSL,
> and OpenSSL can get easy update once security issue arise and new version is needed.
To build the C++ library packages, build the Java packages first.

```shell
Expand Down Expand Up @@ -180,4 +184,4 @@ config.setAuth(pulsar::AuthTls::create(
Client client("pulsar+ssl://my-broker.com:6651", config);
```
For complete examples, refer to [C++ client examples](https://github.com/apache/pulsar/tree/master/pulsar-client-cpp/examples).
For complete examples, refer to [C++ client examples](https://github.com/apache/pulsar/tree/master/pulsar-client-cpp/examples).

0 comments on commit 617d71c

Please sign in to comment.