public class ConfluentAvroSerializer extends AbstractAvroSerializer
| Constructor and Description |
|---|
ConfluentAvroSerializer(com.esotericsoftware.kryo.Kryo k,
Map<String,Object> topoConf)
A constructor with a signature that Storm can locate and use with kryo registration.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFingerprint(org.apache.avro.Schema schema) |
org.apache.avro.Schema |
getSchema(String fingerPrint) |
read, writepublic ConfluentAvroSerializer(com.esotericsoftware.kryo.Kryo k,
Map<String,Object> topoConf)
k - Unused but needs to be present for Serialization Factory to find this constructortopoConf - The global storm configuration. Must define "avro.schemaregistry.confluent" to locate the
confluent schema registry. Should in the form of "http://HOST:PORT"Copyright © 2023 The Apache Software Foundation. All rights reserved.