No exporter for Kafka in Spring Boot Actuator - spring-boot

Is there any exporter to Kafka the same way Spring boot has for Redis (RedisMetricRepository), JMX (JmxMetricWriter) as seen here

This is what I was looking for.

Related

Spring Cloud Sleuth with Elastic APM

Is it possible of providing the Tracers and Spans of Spring Cloud Sleuth (for a Webflux project) to Elastic APM?
I've seen a discussion of the issue here in the context of Spring Webflux. And here in the context of Spring Cloud Sleuth.

How to see kafka producer metrics using spring boot

I want to see Kafka producer JMX metrics using Spring boot actuator. How can I see those metrics using spring boot? AN example will be much appriciated
You can use Spring Boot Admin.
You'll create a Spring Boot Admin application and have your producer register itself with it. Here's a nice tutorial.

How to expose Kafka metrics from SpringBoot application through JMX to Prometheus?

I have a springboot app from which i would like to expose the kafka.consumer metrics to Prometheus via JMX. I can see the metrics here but i just don't know where to set those mBeans(i.e. kafka.consumer:type=consumer-metrics,client-id=([-.\w]+)). I understood reading the spring boot documentation that i need to activate JMX only by doing this setting spring.jmx.enabled=true but i don't know what to do extra to expose those metrics to Prometheus through JMX.
Kafka automatically registers its own MBeans with those names.
If you add the actuator starter, Boot will configure Micrometer to scrape those MBeans.
However, Micrometer has deprecated the JMX scraper and has new KafkaMetrics Objects.
Spring Boot 2.3 now uses those classes to configure Micrometer instead of JMX.

How to Refresh Spring Boot Configuration Info with Using Spring Cloud Config

I would like to ask how to refresh spring boot configuration info with using spring cloud config. Would you please give me some advice? Many thanks.
If your spring boot application is a client of Spring Cloud Configuration Server and use itself as single point of truth in the application configuration let's say retrieve application.properties/yml from the config server, you can benefit of #RefreshScope. in this case if you do a post to the /refresh if you use spring boot 1.x or /actuator/refresh if you use spring boot 2.x all the bean that are have are annotated as #RefreshScope will be refreshed.

how can i integrate Spring Boot WebSocket with Kafka

I want to integrate kafka with Spring Boot WebSocket project, the official documentation of it uses STOMP protocol by default which don't support kafka like a brocker messages. So my question is, how can I integrate kafka with Spring Boot WebSocket ? and thank you so much.

Resources