Interface ClassMapper

All Known Subinterfaces:
Jackson2JavaTypeMapper
All Known Implementing Classes:
DefaultJackson2JavaTypeMapper

public interface ClassMapper
Strategy for setting metadata on messages such that one can create the class that needs to be instantiated when receiving a message.
Since:
2.1
Author:
Mark Pollack, James Carr, Gary Russell
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fromClass(Class<?> clazz, org.apache.kafka.common.header.Headers headers)
     
    toClass(org.apache.kafka.common.header.Headers headers)
     
  • Method Details

    • fromClass

      void fromClass(Class<?> clazz, org.apache.kafka.common.header.Headers headers)
    • toClass

      Class<?> toClass(org.apache.kafka.common.header.Headers headers)