How to manage a RestEndpoint with Spring Application Events?

I´m developing a spring boot microservice and I´m raising application events to execute my services and do my business stuff. It works well when I listen from Kafka, but also I want to implement an …