use of com.hortonworks.registries.schemaregistry.serdes.avro.exceptions.AvroRetryableException in project registry by hortonworks.
the class AbstractAvroSerDesProtocolHandler method handleSchemaVersionSerialization.
@Override
public void handleSchemaVersionSerialization(OutputStream outputStream, SchemaIdVersion schemaIdVersion) {
try {
outputStream.write(new byte[] { protocolId });
doHandleSchemaVersionSerialization(outputStream, schemaIdVersion);
} catch (IOException e) {
throw new AvroRetryableException(e);
}
}
Aggregations