Interface KafkaHeaderMapper

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void fromHeaders​(org.springframework.messaging.MessageHeaders headers, org.apache.kafka.common.header.Headers target)
      Map from the given MessageHeaders to the specified target headers.
      void toHeaders​(org.apache.kafka.common.header.Headers source, java.util.Map<java.lang.String,​java.lang.Object> target)
      Map from the given target headers to abstracted MessageHeaders.
    • Method Detail

      • fromHeaders

        void fromHeaders​(org.springframework.messaging.MessageHeaders headers,
                         org.apache.kafka.common.header.Headers target)
        Map from the given MessageHeaders to the specified target headers.
        Parameters:
        headers - the abstracted MessageHeaders.
        target - the native target headers.
      • toHeaders

        void toHeaders​(org.apache.kafka.common.header.Headers source,
                       java.util.Map<java.lang.String,​java.lang.Object> target)
        Map from the given target headers to abstracted MessageHeaders.
        Parameters:
        source - the native target headers.
        target - the target headers.