Interface JacksonJsonTypeResolver

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JacksonJsonTypeResolver
Determine the JavaType from the topic/data/headers.
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    tools.jackson.databind.JavaType
    resolveType(String topic, byte[] data, @Nullable org.apache.kafka.common.header.Headers headers)
    Determine the type.
  • Method Details

    • resolveType

      tools.jackson.databind.JavaType resolveType(String topic, byte[] data, @Nullable org.apache.kafka.common.header.Headers headers)
      Determine the type.
      Parameters:
      topic - the topic.
      data - the serialized data.
      headers - the headers.
      Returns:
      the type.