I am using Kafka with Spring Boot. Is it possible to return the HTTP response when the result need to wait for Kafka event finish first?
I have some services and sub-processes. Service A receives HTTP request from user and it sends message to Kafka in order to do some sub-processes. Before service A returns the HTTP response, it needs to wait for service B to update the record in database.
