【发布时间】:2020-07-08 07:06:09
【问题描述】:
我正在玩 MP Reactive Messaging 和 MP Opentracing,但我不知道如何跟踪通过 Reactive Messaging 发送的消息。
是否甚至可以跟踪使用@Income / @Outcome 注释的方法?
【问题讨论】:
标签: java apache-kafka opentracing microprofile distributed-tracing
我正在玩 MP Reactive Messaging 和 MP Opentracing,但我不知道如何跟踪通过 Reactive Messaging 发送的消息。
是否甚至可以跟踪使用@Income / @Outcome 注释的方法?
【问题讨论】:
标签: java apache-kafka opentracing microprofile distributed-tracing
您应该找到一个扩展import org.eclipse.microprofile.reactive.messaging.spi.IncomingConnectorFactory; 的类,该类专用于@Incoming 和import org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory; 用于@Outgoing
取决于您使用的扩展程序。您应该拥有它,因为它是连接器或向通道发送和接收消息的部分
【讨论】: