Interface GlueSchemaRegistrySerializer
- All Known Implementing Classes:
GlueSchemaRegistrySerializerImpl
public interface GlueSchemaRegistrySerializer
Entry point to serialization capabilities of Glue Schema Registry client library.
-
Method Summary
-
Method Details
-
encode
Encodes the given byte array with Schema Registry header information. The header contains a reference to the Schema that corresponds to the data.- Parameters:
schema-SchemaA Schema object representing the schema information.data- Byte array consisting of customer data that needs to be encoded.- Returns:
- encodedData Schema Registry Encoded byte array which can only be decoded by Schema Registry de-serializer.
-