This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a change to branch java_dev
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
discard 69ee290 WiP
discard 4ab91cf WiP
omit 4ac4402 Add pull_request#types in github action
omit c1c65df Fix the naming issue
omit c06b897 Follow the latest parameter limitation
omit a5d146e Adapt to the status code
omit de82889 Set grpc log level to error
add c8ed73d Support client metric exporting (#39)
add 42950d9 Adapt to the latest status code (#43)
new 9c0e2fb Refactor client telemetry
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (69ee290)
\
N -- N -- N refs/heads/java_dev (9c0e2fb)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 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:
cpp/proto/apache/rocketmq/v2/definition.proto | 14 ++-
cpp/proto/apache/rocketmq/v2/service.proto | 19 +---
cpp/src/main/cpp/base/ErrorCategory.cpp | 53 +++++++++-
cpp/src/main/cpp/base/MixAll.cpp | 25 ++---
cpp/src/main/cpp/base/include/MixAll.h | 3 +-
cpp/src/main/cpp/base/tests/MixAllTest.cpp | 11 ++
cpp/src/main/cpp/client/BUILD.bazel | 1 +
cpp/src/main/cpp/client/ClientManagerImpl.cpp | 7 +-
cpp/src/main/cpp/client/LogInterceptor.cpp | 4 +-
cpp/src/main/cpp/client/TelemetryBidiReactor.cpp | 1 -
cpp/src/main/cpp/client/include/ClientConfig.h | 3 +-
cpp/src/main/cpp/client/include/ClientManager.h | 6 ++
cpp/src/main/cpp/rocketmq/ClientImpl.cpp | 47 +++++++++
.../cpp/rocketmq/ConsumeMessageServiceImpl.cpp | 13 ---
cpp/src/main/cpp/rocketmq/ConsumeTask.cpp | 32 +++++-
cpp/src/main/cpp/rocketmq/ProducerImpl.cpp | 16 ++-
cpp/src/main/cpp/rocketmq/PushConsumerImpl.cpp | 6 +-
cpp/src/main/cpp/rocketmq/SendContext.cpp | 14 +--
cpp/src/main/cpp/rocketmq/SimpleConsumerImpl.cpp | 2 +-
cpp/src/main/cpp/rocketmq/include/ClientImpl.h | 3 +-
cpp/src/main/cpp/rocketmq/include/ProducerImpl.h | 5 +-
.../main/cpp/rocketmq/include/PushConsumerImpl.h | 2 +-
.../main/cpp/rocketmq/include/SimpleConsumerImpl.h | 2 +-
cpp/src/main/cpp/stats/ConsumeStats.cpp | 67 +-----------
cpp/src/main/cpp/stats/MetricBidiReactor.cpp | 25 +++--
cpp/src/main/cpp/stats/OpencensusExporter.cpp | 114 ++++++++++-----------
.../MessageExt.cpp => stats/OpencensusHandler.cpp} | 18 ++--
cpp/src/main/cpp/stats/PublishStats.cpp | 24 +----
cpp/src/main/cpp/stats/StdoutHandler.cpp | 81 +++++++++++++++
cpp/src/main/cpp/stats/Tag.cpp | 11 +-
cpp/src/main/cpp/stats/include/ConsumeStats.h | 30 ------
cpp/src/main/cpp/stats/include/Exporter.h | 30 ------
cpp/src/main/cpp/stats/include/MetricBidiReactor.h | 1 +
.../main/cpp/stats/include/OpencensusExporter.h | 7 +-
.../include/OpencensusHandler.h} | 14 +--
cpp/src/main/cpp/stats/include/PublishStats.h | 12 +--
cpp/src/main/cpp/stats/include/StdoutHandler.h | 76 ++++++++++++++
cpp/src/main/cpp/stats/include/Tag.h | 4 +-
cpp/src/main/cpp/stats/tests/PublishStatsTest.cpp | 2 -
.../java/exception/InternalErrorException.java | 4 +
.../apache/rocketmq/client/java/impl/Client.java | 6 +-
.../rocketmq/client/java/impl/ClientImpl.java | 101 ++++++++++++------
.../client/java/impl/ClientManagerImpl.java | 8 +-
.../client/java/impl/ClientManagerRegistry.java | 4 +-
...elemetrySession.java => ClientSessionImpl.java} | 104 +++++++------------
.../java/impl/consumer/ProcessQueueImpl.java | 36 +++----
.../java/impl/producer/ClientSessionProcessor.java | 47 +++++++++
.../client/java/metrics/ClientMeterProvider.java | 2 +-
.../java/metrics/MessageMeterInterceptor.java | 14 +--
.../java/impl/consumer/PushConsumerImplTest.java | 4 +-
.../java/impl/consumer/SimpleConsumerImplTest.java | 4 +-
.../java/impl/producer/ProducerImplTest.java | 12 +--
52 files changed, 661 insertions(+), 490 deletions(-)
copy cpp/src/main/cpp/{base/MessageExt.cpp => stats/OpencensusHandler.cpp}
(69%)
create mode 100644 cpp/src/main/cpp/stats/StdoutHandler.cpp
delete mode 100644 cpp/src/main/cpp/stats/include/Exporter.h
copy cpp/src/main/cpp/{client/include/TlsHelper.h =>
stats/include/OpencensusHandler.h} (73%)
create mode 100644 cpp/src/main/cpp/stats/include/StdoutHandler.h
rename
java/client/src/main/java/org/apache/rocketmq/client/java/impl/{TelemetrySession.java
=> ClientSessionImpl.java} (62%)
create mode 100644
java/client/src/main/java/org/apache/rocketmq/client/java/impl/producer/ClientSessionProcessor.java