@PublicEvolving public class GlueSchemaRegistryOutputStreamSerializer extends Object
Constructor and Description |
---|
GlueSchemaRegistryOutputStreamSerializer(String transportName,
Map<String,Object> configs) |
GlueSchemaRegistryOutputStreamSerializer(String transportName,
Map<String,Object> configs,
com.amazonaws.services.schemaregistry.serializers.GlueSchemaRegistrySerializationFacade glueSchemaRegistrySerializationFacade) |
Modifier and Type | Method and Description |
---|---|
void |
registerSchemaAndSerializeStream(org.apache.avro.Schema schema,
OutputStream out,
byte[] data)
Register schema and write serialized object with schema registry bytes to output stream.
|
public GlueSchemaRegistryOutputStreamSerializer(String transportName, Map<String,Object> configs)
public void registerSchemaAndSerializeStream(org.apache.avro.Schema schema, OutputStream out, byte[] data) throws IOException
schema
- schema to be registeredout
- output streamdata
- original bytes of serialized objectIOException
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.