Interface HeadersHandler
- All Known Implementing Classes:
DefaultHeadersHandler
public interface HeadersHandler
Common interface for headers handling when serializing/deserializing kafka records that have
Headers- Author:
- Fabian Martinez
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidreadHeaders(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)
-
Method Details
-
configure
-
writeHeaders
-
readHeaders
Reads the kafka message headers and returns an ArtifactReference that can contain or not information to identify an Artifact in the registry.- Parameters:
headers-- Returns:
- ArtifactReference
-