public class FixedAvroSerializer extends AbstractAvroSerializer
A class to help (de)serialize a pre-defined set of Avro schemas. Schemas should be listed, one per line, in a file called “FixedAvroSerializer.config”, which must be part of the Storm topology jar file. Any schemas intended to be used with this class MUST be defined in that file.
Constructor and Description |
---|
FixedAvroSerializer() |
Modifier and Type | Method and Description |
---|---|
String |
getFingerprint(org.apache.avro.Schema schema) |
org.apache.avro.Schema |
getSchema(String fingerPrint) |
read, write
public FixedAvroSerializer() throws IOException, NoSuchAlgorithmException
IOException
NoSuchAlgorithmException
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.