-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Milestone
Description
For https://docs.spring.io/spring-kafka/reference/html/_reference.html#annotation-send-to
the @sendto, does not seems to send back the header it received except correlation_id.
We can see this on Kafka Broker, the message key is empty for the reply message.
We can send our custom header , if the reply type of the method is Message.
In this case, consumer will decide what header he wants to send to producer.
But , as per replyTemplate, the producer should be able to decide what headers it set.