Class DefaultFallbackArtifactProvider
java.lang.Object
io.apicurio.registry.serde.fallback.DefaultFallbackArtifactProvider
- All Implemented Interfaces:
FallbackArtifactProvider
Default implementation of FallbackArtifactProvider that simply uses config properties
- Author:
- Fabian Martinez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns 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 messageboolean
-
Constructor Details
-
DefaultFallbackArtifactProvider
public DefaultFallbackArtifactProvider()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceFallbackArtifactProvider- See Also:
-
io.apicurio.registry.serde.FallbackArtifactProvider#configure(java.util.Map, boolean)
-
get
public ArtifactReference get(String topic, org.apache.kafka.common.header.Headers headers, byte[] data) Description copied from interface:FallbackArtifactProviderReturns 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- Specified by:
getin interfaceFallbackArtifactProviderheaders- , can be null- Returns:
- See Also:
-
isConfigured
public boolean isConfigured()
-