Skip to content

The headers are not sent back by @SendTo  #811

@heerdev

Description

@heerdev

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions