Before Creating the Bug Report
Runtime platform environment
All platforms.
RocketMQ version
develop branch.
JDK Version
Not applicable.
Describe the Bug
ClientActivity.processTelemetryException logs the full inbound gRPC TelemetryCommand when processing a client telemetry request fails with an internal error:
log.warn("process client telemetryCommand failed. request:{}", request, t);
Client telemetry requests can include nested protobuf messages and runtime metadata. Logging the full protobuf request can expose more client-side telemetry data than needed for diagnosis and can also produce very large warning logs.
This is separate from #10672, which covers outbound telemetry write failures in GrpcClientChannel. This issue covers inbound telemetry request processing failures in ClientActivity.
Steps to Reproduce
- Send a gRPC telemetry request that triggers an internal exception in
ClientActivity.telemetry processing.
- Observe the warning log emitted by
processTelemetryException.
- The current log serializes the complete
TelemetryCommand request.
What Did You Expect to See?
The warning log should keep useful diagnostic fields, such as command type, status code, nonce, client type, and pub/sub case, without logging the complete protobuf request.
What Did You See Instead?
The warning log prints the full TelemetryCommand object as request:{}.
Additional Context
This is a small Proxy gRPC diagnostics hardening issue. It aligns with the Proxy Admin / runtime diagnostics track by making telemetry error logs safe and bounded while preserving enough context for troubleshooting.
Before Creating the Bug Report
Runtime platform environment
All platforms.
RocketMQ version
develop branch.
JDK Version
Not applicable.
Describe the Bug
ClientActivity.processTelemetryExceptionlogs the full inbound gRPCTelemetryCommandwhen processing a client telemetry request fails with an internal error:Client telemetry requests can include nested protobuf messages and runtime metadata. Logging the full protobuf request can expose more client-side telemetry data than needed for diagnosis and can also produce very large warning logs.
This is separate from #10672, which covers outbound telemetry write failures in
GrpcClientChannel. This issue covers inbound telemetry request processing failures inClientActivity.Steps to Reproduce
ClientActivity.telemetryprocessing.processTelemetryException.TelemetryCommandrequest.What Did You Expect to See?
The warning log should keep useful diagnostic fields, such as command type, status code, nonce, client type, and pub/sub case, without logging the complete protobuf request.
What Did You See Instead?
The warning log prints the full
TelemetryCommandobject asrequest:{}.Additional Context
This is a small Proxy gRPC diagnostics hardening issue. It aligns with the Proxy Admin / runtime diagnostics track by making telemetry error logs safe and bounded while preserving enough context for troubleshooting.