'How do I modify my traces to Kafka so it shows a remote service by topic rather than "kafka"

I am using Kafka heavily amog my services, but it gets really convoluted that everything just goes there (especially since I am using a AWS Managed Streaming Kafka). I'd like to separate it out so that instead of one Kafka blob I get individual topics to render

enter image description here

I tried to look at the options for building a the tracer but it only has a single service name and does not take in a function that would allow me to swap it.

    @Bean
    KafkaTracing kafkaTracing(MessagingTracing tracing) {

        return KafkaTracing.newBuilder(tracing)
            .remoteServiceName("AAA")
            .build();

    }


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source