This is an automated email from the ASF dual-hosted git repository.
xyz pushed a change to branch branch-2.11
in repository https://gitbox.apache.org/repos/asf/pulsar.git
from 91fbfdafe20 [fix][broker] Unregister topic policy listener if managed
ledger close failed (#17652)
new d0fcadeaee9 [feat][cpp] Support multiple brokers in service URL
(#17162)
new 590d91f4a70 [fix][cpp] Support retry and apply operation timeout for
lookup requests (#17410)
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pulsar-client-cpp/include/pulsar/Client.h | 2 +
pulsar-client-cpp/include/pulsar/Result.h | 3 +-
pulsar-client-cpp/lib/BinaryProtoLookupService.cc | 141 +++++------
pulsar-client-cpp/lib/BinaryProtoLookupService.h | 29 +--
pulsar-client-cpp/lib/ClientConnection.cc | 54 ++--
pulsar-client-cpp/lib/ClientImpl.cc | 86 +++----
pulsar-client-cpp/lib/ClientImpl.h | 9 +-
pulsar-client-cpp/lib/ConnectionPool.h | 4 +
pulsar-client-cpp/lib/HTTPLookupService.cc | 74 +++---
pulsar-client-cpp/lib/HTTPLookupService.h | 11 +-
pulsar-client-cpp/lib/HandlerBase.cc | 14 +-
pulsar-client-cpp/lib/LookupService.h | 23 +-
pulsar-client-cpp/lib/PulsarScheme.h | 82 ++++++
pulsar-client-cpp/lib/Result.cc | 3 +
pulsar-client-cpp/lib/RetryableLookupService.h | 151 ++++++++++++
pulsar-client-cpp/lib/ServiceNameResolver.h | 59 +++++
pulsar-client-cpp/lib/ServiceURI.cc | 101 ++++++++
.../lib/{FileLoggerFactoryImpl.h => ServiceURI.h} | 30 ++-
pulsar-client-cpp/lib/SynchronizedHashMap.h | 8 +-
pulsar-client-cpp/lib/TopicName.cc | 12 +-
pulsar-client-cpp/lib/TopicName.h | 12 +-
pulsar-client-cpp/lib/Utils.h | 2 +
pulsar-client-cpp/python/pulsar_test.py | 6 +-
pulsar-client-cpp/run-unit-tests.sh | 4 +-
pulsar-client-cpp/tests/BasicEndToEndTest.cc | 28 +--
pulsar-client-cpp/tests/BinaryLookupServiceTest.cc | 119 ---------
pulsar-client-cpp/tests/ClientTest.cc | 29 ++-
pulsar-client-cpp/tests/LookupServiceTest.cc | 274 +++++++++++++++++++++
pulsar-client-cpp/tests/PulsarFriend.h | 11 +
pulsar-client-cpp/tests/ServiceURITest.cc | 75 ++++++
30 files changed, 1053 insertions(+), 403 deletions(-)
create mode 100644 pulsar-client-cpp/lib/PulsarScheme.h
create mode 100644 pulsar-client-cpp/lib/RetryableLookupService.h
create mode 100644 pulsar-client-cpp/lib/ServiceNameResolver.h
create mode 100644 pulsar-client-cpp/lib/ServiceURI.cc
copy pulsar-client-cpp/lib/{FileLoggerFactoryImpl.h => ServiceURI.h} (53%)
delete mode 100644 pulsar-client-cpp/tests/BinaryLookupServiceTest.cc
create mode 100644 pulsar-client-cpp/tests/LookupServiceTest.cc
create mode 100644 pulsar-client-cpp/tests/ServiceURITest.cc