I have two string boot project (supervisor and user). Supervisor Project produce a message with kafka in this way
Controller of Supervisor
@RestController