Package org.nuxeo.runtime.codec
Class AvroCodecFactory
java.lang.Object
org.nuxeo.runtime.codec.AvroCodecFactory
- All Implemented Interfaces:
CodecFactory
Factory to generate Avro codec with different flavors
- Since:
- 10.3
-
Field Details
-
KEY_SCHEMA_REGISTRY_URLS
- See Also:
-
DEFAULT_SCHEMA_REGISTRY_URLS
- See Also:
-
KEY_ENCODING
- See Also:
-
DEFAULT_ENCODING
- See Also:
-
encoding
-
schemaRegistryUrls
-
-
Constructor Details
-
AvroCodecFactory
public AvroCodecFactory()
-
-
Method Details
-
init
Description copied from interface:CodecFactory
Initializes the codec factory using a map of options.- Specified by:
init
in interfaceCodecFactory
-
newCodec
Description copied from interface:CodecFactory
Returns a codec object enables to encode/decode object ot class T.- Specified by:
newCodec
in interfaceCodecFactory
-