Class DefaultHeadersHandler
java.lang.Object
io.apicurio.registry.serde.headers.DefaultHeadersHandler
- All Implemented Interfaces:
HeadersHandler
- Author:
- Fabian Martinez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadHeaders(org.apache.kafka.common.header.Headers headers) Reads the kafka message headers and returns an ArtifactReference that can contain or not information to identify an Artifact in the registry.voidwriteHeaders(org.apache.kafka.common.header.Headers headers, ArtifactReference reference)
-
Constructor Details
-
DefaultHeadersHandler
public DefaultHeadersHandler()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceHeadersHandler- See Also:
-
writeHeaders
public void writeHeaders(org.apache.kafka.common.header.Headers headers, ArtifactReference reference) - Specified by:
writeHeadersin interfaceHeadersHandler- See Also:
-
io.apicurio.registry.serde.headers.HeadersHandler#writeHeaders(org.apache.kafka.common.header.Headers, io.apicurio.registry.serde.SchemaLookupResult)
-
readHeaders
Description copied from interface:HeadersHandlerReads the kafka message headers and returns an ArtifactReference that can contain or not information to identify an Artifact in the registry.- Specified by:
readHeadersin interfaceHeadersHandler- Returns:
- ArtifactReference
- See Also:
-