Skip to content

Commit 1234698

Browse files
authored
[cleanup] reference to C++ and Python client (#17919)
* [cleanup] reference to C++ and Python client Signed-off-by: tison <wander4096@gmail.com> * address comments Signed-off-by: tison <wander4096@gmail.com> Signed-off-by: tison <wander4096@gmail.com>
1 parent ca052d4 commit 1234698

9 files changed

+29
-214
lines changed

.gitignore

-5
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ deployment/terraform-ansible/aws/terraform.tfstate.backup
7070
# Vagrant
7171
**/.vagrant
7272

73-
74-
pulsar-client-cpp/python/pkg/osx/*/*.bak
75-
pulsar-client-cpp/python/pkg/osx/*/*.whl
76-
pulsar-client-cpp/python/wheelhouse
77-
7873
# CI generated files
7974
.repository
8075
docker.debug-info

LICENSE

-66
Original file line numberDiff line numberDiff line change
@@ -237,69 +237,3 @@ Code generated by the Protocol Buffer compiler is owned by the owner
237237
of the input file used when generating it. This code is not
238238
standalone and requires a support library to be linked with it. This
239239
support library is itself covered by the above license.
240-
241-
----------------------------------------------------------------------------------------------------
242-
243-
pulsar-client-cpp/lib/lz4/lz4.{h,c}
244-
245-
LZ4 - Fast LZ compression algorithm
246-
Copyright (C) 2011-2015, Yann Collet.
247-
248-
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
249-
250-
Redistribution and use in source and binary forms, with or without
251-
modification, are permitted provided that the following conditions are
252-
met:
253-
254-
* Redistributions of source code must retain the above copyright
255-
notice, this list of conditions and the following disclaimer.
256-
* Redistributions in binary form must reproduce the above
257-
copyright notice, this list of conditions and the following disclaimer
258-
in the documentation and/or other materials provided with the
259-
distribution.
260-
261-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
262-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
263-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
264-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
265-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
266-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
267-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
268-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
269-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
270-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
271-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
272-
273-
You can contact the author at :
274-
- LZ4 source repository : https://github.com/Cyan4973/lz4
275-
- LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
276-
277-
----------------------------------------------------------------------------------------------------
278-
279-
pulsar-client-cpp/lib/checksum/crc32c_sw.cc
280-
281-
/* crc32c.c -- compute CRC-32C using the Intel crc32 instruction
282-
* Copyright (C) 2013 Mark Adler
283-
* Version 1.1 1 Aug 2013 Mark Adler
284-
*/
285-
286-
/*
287-
This software is provided 'as-is', without any express or implied
288-
warranty. In no event will the author be held liable for any damages
289-
arising from the use of this software.
290-
291-
Permission is granted to anyone to use this software for any purpose,
292-
including commercial applications, and to alter it and redistribute it
293-
freely, subject to the following restrictions:
294-
295-
1. The origin of this software must not be misrepresented; you must not
296-
claim that you wrote the original software. If you use this software
297-
in a product, an acknowledgment in the product documentation would be
298-
appreciated but is not required.
299-
2. Altered source versions must be plainly marked as such, and must not be
300-
misrepresented as being the original software.
301-
3. This notice may not be removed or altered from any source distribution.
302-
303-
Mark Adler
304-
madler@alumni.caltech.edu
305-
*/

distribution/server/src/assemble/LICENSE.bin.txt

-66
Original file line numberDiff line numberDiff line change
@@ -240,72 +240,6 @@ support library is itself covered by the above license.
240240

241241
----------------------------------------------------------------------------------------------------
242242

243-
pulsar-client-cpp/lib/lz4/lz4.{h,c}
244-
245-
LZ4 - Fast LZ compression algorithm
246-
Copyright (C) 2011-2015, Yann Collet.
247-
248-
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
249-
250-
Redistribution and use in source and binary forms, with or without
251-
modification, are permitted provided that the following conditions are
252-
met:
253-
254-
* Redistributions of source code must retain the above copyright
255-
notice, this list of conditions and the following disclaimer.
256-
* Redistributions in binary form must reproduce the above
257-
copyright notice, this list of conditions and the following disclaimer
258-
in the documentation and/or other materials provided with the
259-
distribution.
260-
261-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
262-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
263-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
264-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
265-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
266-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
267-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
268-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
269-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
270-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
271-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
272-
273-
You can contact the author at :
274-
- LZ4 source repository : https://github.com/Cyan4973/lz4
275-
- LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
276-
277-
----------------------------------------------------------------------------------------------------
278-
279-
pulsar-client-cpp/lib/checksum/crc32c_sw.cc
280-
281-
/* crc32c.c -- compute CRC-32C using the Intel crc32 instruction
282-
* Copyright (C) 2013 Mark Adler
283-
* Version 1.1 1 Aug 2013 Mark Adler
284-
*/
285-
286-
/*
287-
This software is provided 'as-is', without any express or implied
288-
warranty. In no event will the author be held liable for any damages
289-
arising from the use of this software.
290-
291-
Permission is granted to anyone to use this software for any purpose,
292-
including commercial applications, and to alter it and redistribute it
293-
freely, subject to the following restrictions:
294-
295-
1. The origin of this software must not be misrepresented; you must not
296-
claim that you wrote the original software. If you use this software
297-
in a product, an acknowledgment in the product documentation would be
298-
appreciated but is not required.
299-
2. Altered source versions must be plainly marked as such, and must not be
300-
misrepresented as being the original software.
301-
3. This notice may not be removed or altered from any source distribution.
302-
303-
Mark Adler
304-
madler@alumni.caltech.edu
305-
*/
306-
307-
----------------------------------------------------------------------------------------------------
308-
309243
This projects includes binary packages with the following licenses:
310244

311245
The Apache Software License, Version 2.0

pom.xml

-38
Original file line numberDiff line numberDiff line change
@@ -1529,17 +1529,6 @@ flexible messaging model and an intuitive client API.</description>
15291529
<exclude>logs/**</exclude>
15301530
<exclude>**/circe/**</exclude>
15311531
<exclude>pulsar-broker/src/test/resources/authentication/basic/.htpasswd</exclude>
1532-
<exclude>pulsar-client-cpp/lib/checksum/int_types.h</exclude>
1533-
<exclude>pulsar-client-cpp/lib/checksum/gf2.hpp</exclude>
1534-
<exclude>pulsar-client-cpp/lib/checksum/crc32c_sse42.cc</exclude>
1535-
<exclude>pulsar-client-cpp/lib/checksum/crc32c_sse42.h</exclude>
1536-
<exclude>pulsar-client-cpp/lib/checksum/crc32c_sw.cc</exclude>
1537-
<exclude>pulsar-client-cpp/lib/lz4/lz4.*</exclude>
1538-
<exclude>pulsar-client-cpp/lib/PulsarApi.pb.*</exclude>
1539-
<exclude>pulsar-client-cpp/CMakeFiles/**</exclude>
1540-
<exclude>pulsar-client-cpp/**/Makefile</exclude>
1541-
<exclude>pulsar-client-cpp/**/cmake_install.cmake</exclude>
1542-
<exclude>**/CMakeFiles/**</exclude>
15431532
<exclude>**/django/stats/migrations/*.py</exclude>
15441533
<exclude>site2/**</exclude>
15451534
<exclude>generated-site/**</exclude>
@@ -1594,7 +1583,6 @@ flexible messaging model and an intuitive client API.</description>
15941583
<excludes>
15951584
<!-- Other license files -->
15961585
<exclude>licenses/LICENSE-*.txt</exclude>
1597-
<exclude>pulsar-client-cpp/pkg/licenses/LICENSE-*.txt</exclude>
15981586
<exclude>src/assemble/README.bin.txt</exclude>
15991587
<exclude>src/assemble/LICENSE.bin.txt</exclude>
16001588
<exclude>src/assemble/NOTICE.bin.txt</exclude>
@@ -1625,9 +1613,6 @@ flexible messaging model and an intuitive client API.</description>
16251613
<!-- This is generated during maven build -->
16261614
<exclude>dependency-reduced-pom.xml</exclude>
16271615

1628-
<!-- LZ4 code is under BSD 2-clause -->
1629-
<exclude>pulsar-client-cpp/lib/lz4/lz4.*</exclude>
1630-
16311616
<!-- These files is go module configs -->
16321617
<exclude>pulsar-client-go/go.mod</exclude>
16331618
<exclude>pulsar-client-go/go.sum</exclude>
@@ -1636,11 +1621,6 @@ flexible messaging model and an intuitive client API.</description>
16361621
<exclude>pulsar-function-go/examples/go.mod</exclude>
16371622
<exclude>pulsar-function-go/examples/go.sum</exclude>
16381623

1639-
<!-- This file is using ZLib license -->
1640-
<exclude>pulsar-client-cpp/lib/checksum/crc32c_sw.cc</exclude>
1641-
1642-
<!-- This file is generated by c++ client -->
1643-
<exclude>pulsar-client-cpp/generated/**</exclude>
16441624
<!-- This is a text property file that contains just a class name -->
16451625
<exclude>**/META-INF/services/com.scurrilous.circe.HashProvider</exclude>
16461626
<exclude>**/META-INF/services/io.trino.spi.Plugin</exclude>
@@ -1692,24 +1672,6 @@ flexible messaging model and an intuitive client API.</description>
16921672
<exclude>**/.project</exclude>
16931673
<exclude>**/.settings</exclude>
16941674
<exclude>**/target/**</exclude>
1695-
<exclude>**/CMakeFiles/**</exclude>
1696-
<exclude>**/CMakeCache.txt</exclude>
1697-
<exclude>**/cmake_install.cmake</exclude>
1698-
<exclude>pulsar-client-cpp/**/Makefile</exclude>
1699-
<exclude>pulsar-client-cpp/tests/main</exclude>
1700-
<exclude>pulsar-client-cpp/examples/SampleAsyncProducer</exclude>
1701-
<exclude>pulsar-client-cpp/examples/SampleConsumer</exclude>
1702-
<exclude>pulsar-client-cpp/examples/SampleConsumerListener</exclude>
1703-
<exclude>pulsar-client-cpp/examples/SampleProducer</exclude>
1704-
<exclude>pulsar-client-cpp/perf/perfProducer</exclude>
1705-
<exclude>pulsar-client-cpp/perf/perfConsumer</exclude>
1706-
<exclude>**/python/dist/**</exclude>
1707-
<exclude>**/pulsar-client-cpp/pkg/rpm/RPMS/**</exclude>
1708-
<exclude>**/pulsar-client-cpp/pkg/rpm/SOURCES/**</exclude>
1709-
<exclude>**/pulsar-client-cpp/pkg/deb/BUILD/**</exclude>
1710-
<exclude>**/python/wheelhouse/**</exclude>
1711-
<exclude>**/python/MANIFEST</exclude>
1712-
<exclude>**/*.egg-info/**</exclude>
17131675
<exclude>**/*.log</exclude>
17141676
<exclude>**/build/**</exclude>
17151677
<exclude>**/file:/**</exclude>

site2/docs/client-libraries-cpp.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ If you get an error like "libpulsar.so: cannot open shared object file: No such
108108

109109
### Source
110110

111-
For how to build Pulsar C++ client on different platforms from source code, see [compliation](https://github.com/apache/pulsar/tree/master/pulsar-client-cpp#compilation).
111+
For how to build Pulsar C++ client on different platforms from source code, see [compliation](https://github.com/apache/pulsar-client-cpp#compilation).
112112

113113
## Connection URLs
114114

@@ -408,12 +408,11 @@ config.setAuth(pulsar::AuthTls::create(
408408
Client client("pulsar+ssl://my-broker.com:6651", config);
409409
```
410410
411-
For complete examples, refer to [C++ client examples](https://github.com/apache/pulsar/tree/master/pulsar-client-cpp/examples).
411+
For complete examples, refer to [C++ client examples](https://github.com/apache/pulsar-client-cpp/tree/main/examples).
412412
413413
## Schema
414414
415-
This section describes some examples about schema. For more information about
416-
schema, see [Pulsar schema](schema-get-started.md).
415+
This section describes some examples about schema. For more information about schema, see [Pulsar schema](schema-get-started.md).
417416
418417
### Avro schema
419418

site2/docs/client-libraries.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ sidebar_label: "Overview"
66

77
Pulsar supports the following language-specific client libraries:
88

9-
| Language | Documentation | Release note | Code repo |
10-
| --------- | -------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
11-
| Java | [User doc](client-libraries-java.md) <br/> [API doc](/api/client/) | [Bundled](/release-notes/) | [Bundled](https://github.com/apache/pulsar/tree/master/pulsar-client) |
12-
| C++ | [User doc](client-libraries-cpp.md) <br/> [API doc](/api/cpp/) | [Bundled](/release-notes/) | [Bundled](https://github.com/apache/pulsar/tree/master/pulsar-client-cpp) |
13-
| Python | [User doc](client-libraries-python.md) <br/> [API doc](/api/python/) | [Bundled](/release-notes/) | [Bundled](https://github.com/apache/pulsar/tree/master/pulsar-client-cpp/python) |
14-
| Go client | [User doc](client-libraries-go.md) | [Standalone](https://github.com/apache/pulsar-client-go/releases) | [Standalone](https://github.com/apache/pulsar-client-go) |
15-
| Node.js | [User doc](client-libraries-node.md) | [Standalone](https://github.com/apache/pulsar-client-node/releases) | [Standalone](https://github.com/apache/pulsar-client-node) |
16-
| C# | [User doc](client-libraries-dotnet.md) | [Standalone](https://github.com/apache/pulsar-dotpulsar/blob/master/CHANGELOG.md) | [Standalone](https://github.com/apache/pulsar-dotpulsar) |
9+
| Language | Documentation | Release note | Code repo |
10+
| --------- | -------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
11+
| Java | [User doc](client-libraries-java.md) <br/> [API doc](/api/client/) | [Bundled](/release-notes/) | [Bundled](https://github.com/apache/pulsar/tree/master/pulsar-client) |
12+
| C++ | [User doc](client-libraries-cpp.md) <br/> [API doc](/api/cpp/) | [Bundled](/release-notes/) | [Standalone](https://github.com/apache/pulsar/pulsar-client-cpp) |
13+
| Python | [User doc](client-libraries-python.md) <br/> [API doc](/api/python/) | [Bundled](/release-notes/) | [Standalone](https://github.com/apache/pulsar-client-python) |
14+
| Go client | [User doc](client-libraries-go.md) | [Standalone](https://github.com/apache/pulsar-client-go/releases) | [Standalone](https://github.com/apache/pulsar-client-go) |
15+
| Node.js | [User doc](client-libraries-node.md) | [Standalone](https://github.com/apache/pulsar-client-node/releases) | [Standalone](https://github.com/apache/pulsar-client-node) |
16+
| C# | [User doc](client-libraries-dotnet.md) | [Standalone](https://github.com/apache/pulsar-dotpulsar/blob/master/CHANGELOG.md) | [Standalone](https://github.com/apache/pulsar-dotpulsar) |
1717

1818
Pulsar supports the following language-agnostic client libraries:
1919

0 commit comments

Comments
 (0)