Class FastAvroSerializer<K>

  • Type Parameters:
    K -
    All Implemented Interfaces:
    RecordSerializer<K>

    public class FastAvroSerializer<K>
    extends AvroSerializer<K>
    This class is leveraging linkedin-avro-fastserde-impl to speed up serialization, and so far it doesn't work for Avro-1.4, and it will fail back to regular Avro.
    • Constructor Summary

      Constructors 
      Constructor Description
      FastAvroSerializer​(org.apache.avro.Schema schema, com.linkedin.avro.fastserde.FastSerdeCache cache)  
      FastAvroSerializer​(org.apache.avro.Schema schema, com.linkedin.avro.fastserde.FastSerdeCache cache, boolean buffered)  
    • Constructor Detail

      • FastAvroSerializer

        public FastAvroSerializer​(org.apache.avro.Schema schema,
                                  com.linkedin.avro.fastserde.FastSerdeCache cache)
      • FastAvroSerializer

        public FastAvroSerializer​(org.apache.avro.Schema schema,
                                  com.linkedin.avro.fastserde.FastSerdeCache cache,
                                  boolean buffered)