use of com.hortonworks.registries.schemaregistry.avro.AvroSchemaResolver in project registry by hortonworks.
the class AbstractAvroSnapshotDeserializer method doInit.
@Override
public void doInit(Map<String, ?> config) {
super.doInit(config);
SchemaVersionRetriever schemaVersionRetriever = createSchemaVersionRetriever();
avroSchemaResolver = new AvroSchemaResolver(schemaVersionRetriever);
useSpecificAvroReader = (boolean) getValue(config, SPECIFIC_AVRO_READER, false);
}
Aggregations