how can i integrate Spring Boot WebSocket with Kafka - spring-boot

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.

Related

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.

Does Elastic APM support Spring Cloud Stream

I am very new to Elastic APM and not sure how it can support different frameworks. I can see that from the documentation APM supports Spring Boot. I have tested a Spring Boot application with the APM and it looks promising. I was wondering if APM supports Spring Cloud Stream as well. Spring Cloud Stream provides Event Driven Architecture by using Spring Boot and messaging middleware. Middleware can be Kafka, RabbitMQ, etc.
I am not familiar with what is Elastic APM, but if it says it supports Spring Boot, then it means it supports any spring-boot-based framework which Spring Cloud Stream is.

How to configure TLS for Netty in a Spring Boot app?

My microservices are using the latest releases of Spring Boot, Spring WebFlux (Undertow), Spring Data MongoDB, Spring Cloud Netflix, and Kotlin...
Now I've setup a demo project to use the new functional interface instead of the annotations in Spring WebFlux. Using Netty with HTTP works fine. However, I cannot find any information how to configure Netty with TLS resp. HTTPS. Any hint is appreciated!
At the time of writing, configuration of TLS with Netty hasn't been implemented. The work is being tracked by this issue.

How to configure Spring Boot with multiple RabbitMQ?

I have 3 RabbitMQ clustings for different functionality.Now I want to consume these RabbitMQ clustings message in my spring boot project,What can I do?

Spring cloud contract - integrating with non - spring endpoint

I have a spring webapp that communicates with external service over kafka. IS it possible to somehow test contract between those services?
Yes you can. Spring Cloud Contract supports CDC with messaging. If you're using Spring Cloud Stream - the work to be done is trivial. If not then you'll have to implement your own as presented in this issue - Spring Cloud Contract and plain Spring AMQP . Summing it up it's enough for both consumer and producer to implement a custom org.springframework.cloud.contract.verifier.messaging.MessageVerifier bean that will be responsible for receiving and sending of messages via Kafka

Resources