public interface KafkaHeaderMapper
Modifier and Type | Method and Description |
---|---|
void |
fromHeaders(org.springframework.messaging.MessageHeaders headers,
org.apache.kafka.common.header.Headers target)
Map from the given
MessageHeaders to the specified target message. |
void |
toHeaders(org.apache.kafka.common.header.Headers source,
java.util.Map<java.lang.String,java.lang.Object> target)
Map from the given target message to abstracted
MessageHeaders . |
void fromHeaders(org.springframework.messaging.MessageHeaders headers, org.apache.kafka.common.header.Headers target)
MessageHeaders
to the specified target message.headers
- the abstracted MessageHeaders.target
- the native target message.void toHeaders(org.apache.kafka.common.header.Headers source, java.util.Map<java.lang.String,java.lang.Object> target)
MessageHeaders
.source
- the native target message.target
- the target headers.