Interface GlueSchemaRegistrySerializer
-
- All Known Implementing Classes:
GlueSchemaRegistrySerializerImpl
public interface GlueSchemaRegistrySerializerEntry point to serialization capabilities of Glue Schema Registry client library.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]encode(String transportName, Schema schema, byte[] data)Encodes the given byte array with Schema Registry header information.
-
-
-
Method Detail
-
encode
byte[] encode(String transportName, Schema schema, byte[] data)
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.
-
-