Interface FallbackArtifactProvider

All Known Implementing Classes:
DefaultFallbackArtifactProvider

public interface FallbackArtifactProvider
Interface for providing a fallback ArtifactReference when the SchemaResolver is not able to find an ArtifactReference in the kafka message
Author:
Fabian Martinez
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    configure(Map<String,Object> configs, boolean isKey)
     
    get(String topic, org.apache.kafka.common.header.Headers headers, byte[] data)
    Returns an ArtifactReference that will be used as the fallback to search in the registry for the artifact that will be used to deserialize the kafka message
  • Method Details

    • configure

      default void configure(Map<String,Object> configs, boolean isKey)
    • get

      ArtifactReference get(String topic, org.apache.kafka.common.header.Headers headers, byte[] data)
      Returns an ArtifactReference that will be used as the fallback to search in the registry for the artifact that will be used to deserialize the kafka message
      Parameters:
      topic -
      headers - , can be null
      data -
      Returns: