I have added @trace annotation to Spring boot's Kafka Listener , it seems to be working over there. But its not working above @QueueListener.
What's the correct way to integrate New Relic with @QueueListener.
My current implementation looks something like this
@Trace(metricName = "metricName", dispatcher = true)
@QueueListener(value = "${queue.name}", sqsClient = "sqsClient")
public void processMessage(@Payload Request request) throws Exception {
...
}
I have added @trace annotation to Spring boot's Kafka Listener , it seems to be working over there. But its not working above @QueueListener.
What's the correct way to integrate New Relic with @QueueListener.
My current implementation looks something like this