Class AvroRecordCodecFactory

java.lang.Object
org.nuxeo.runtime.codec.AvroRecordCodecFactory
All Implemented Interfaces:
CodecFactory

public class AvroRecordCodecFactory extends Object implements CodecFactory
Factory to generate Record compliant with Confluent Avro, ready to be used by ksqlDB.
Since:
11.4
  • Field Details

  • Constructor Details

    • AvroRecordCodecFactory

      public AvroRecordCodecFactory()
  • Method Details

    • init

      public void init(Map<String,String> options)
      Description copied from interface: CodecFactory
      Initializes the codec factory using a map of options.
      Specified by:
      init in interface CodecFactory
    • newCodec

      public <T> Codec<T> newCodec(Class<T> objectClass)
      Description copied from interface: CodecFactory
      Returns a codec object enables to encode/decode object ot class T.
      Specified by:
      newCodec in interface CodecFactory