jamesnetherton opened a new pull request, #9563: URL: https://github.com/apache/camel-quarkus/pull/9563
`rocketmq-common` declares the OpenTelemetry SDK plus the OTLP, Prometheus and logging exporters as compile dependencies. That drags OkHttp, the Kotlin stdlib and Prometheus client libraries onto the runtime classpath, but they are only used for broker-side metrics. The client only needs `opentelemetry-api`: `NettyRemotingAbstract` records RPC latency via `RemotingMetricsManager`, which defaults to no-op instruments. SDK types are only referenced from `RemotingMetricsManager.getMetricsView()`, which nothing on the client side calls. Changes: - Exclude `opentelemetry-sdk` and the four exporters from `rocketmq-common` in the BOM - Declare `opentelemetry-api` explicitly on the rocketmq extension runtime `integration-tests/rocketmq` passes in JVM and native mode locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
