Interface FallbackArtifactProvider
-
- All Known Implementing Classes:
DefaultFallbackArtifactProvider
public interface FallbackArtifactProviderInterface for providing a fallback ArtifactReference when the SchemaResolver is not able to find an ArtifactReference in the kafka message- Author:
- Fabian Martinez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidconfigure(Map<String,Object> configs, boolean isKey)ArtifactReferenceget(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 Detail
-
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 nulldata-- Returns:
-
-