class AbstractConfluentKafkaAvroSerializer extends AbstractKafkaAvroSerializer with DatumReaderWriterMixin

Abstract confluent serializer class. Serialize algorithm is copy past from AbstractKafkaAvroSerializer.serializeImpl. Serializer try convert data (in most cases it will be GenericContainer) to indicated schema.

There is some problem when GenericContainer has different schema then final schema - DatumWriter throws exception, because data could not support field from schema. When this situation has place wy try to convert data to provided schema by using AvroSchemaEvolution.alignRecordToSchema implementation.

Linear Supertypes
DatumReaderWriterMixin, AbstractKafkaAvroSerializer, AbstractKafkaSchemaSerDe, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractConfluentKafkaAvroSerializer
  2. DatumReaderWriterMixin
  3. AbstractKafkaAvroSerializer
  4. AbstractKafkaSchemaSerDe
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractConfluentKafkaAvroSerializer(avroSchemaEvolution: AvroSchemaEvolution)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def configure(arg0: KafkaAvroSerializerConfig): Unit
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  7. def configureClientProperties(arg0: AbstractKafkaSchemaSerDeConfig, arg1: SchemaProvider): Unit
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  8. def createDatumReader(writerSchema: Schema, readerSchema: Schema, useSchemaReflection: Boolean, useSpecificAvroReader: Boolean): DatumReader[AnyRef]
    Definition Classes
    DatumReaderWriterMixin
  9. def createDatumWriter(record: Any, schema: Schema, useSchemaReflection: Boolean): GenericDatumWriter[Any]
    Definition Classes
    DatumReaderWriterMixin
  10. val encoderFactory: EncoderFactory
    Attributes
    protected
  11. def encoderToUse(schema: Schema, out: OutputStream): Encoder
    Attributes
    protected
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def getByteBuffer(arg0: Array[Byte]): ByteBuffer
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def getContextName(arg0: String, arg1: String): String
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  17. def getContextName(arg0: String): String
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  18. def getDatumWriter(arg0: Any, arg1: Schema): DatumWriter[_]
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  19. def getOldSubjectName(arg0: Any): String
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  20. def getSchemaById(arg0: Int): ParsedSchema
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  21. def getSchemaBySubjectAndId(arg0: String, arg1: Int): ParsedSchema
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  22. def getSubjectName(arg0: String, arg1: Boolean, arg2: Any, arg3: ParsedSchema): String
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def isDeprecatedSubjectNameStrategy(arg0: Boolean): Boolean
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def lookupLatestVersion(arg0: String, arg1: ParsedSchema, arg2: Boolean): ParsedSchema
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  27. def lookupSchemaBySubjectAndId(arg0: String, arg1: Int, arg2: ParsedSchema, arg3: Boolean): ParsedSchema
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. val primitives: Map[String, Schema]

    We use it on checking writerSchema is primitive - on creating DatumReader (createDatumReader).

    We use it on checking writerSchema is primitive - on creating DatumReader (createDatumReader).

    Attributes
    protected
    Definition Classes
    DatumReaderWriterMixin
  32. def register(arg0: String, arg1: ParsedSchema, arg2: Boolean): Int
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  33. def register(arg0: String, arg1: ParsedSchema): Int
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  34. def serialize(avroSchemaOpt: Option[AvroSchema], topic: String, data: Any, isKey: Boolean): Array[Byte]
  35. def serializeImpl(arg0: String, arg1: Any, arg2: AvroSchema): Array[Byte]
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
    Annotations
    @throws( ... ) @throws( ... )
  36. def serializerConfig(arg0: Properties): KafkaAvroSerializerConfig
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  37. def serializerConfig(arg0: Map[String, _]): KafkaAvroSerializerConfig
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  38. def strategyUsesSchema(arg0: Boolean): Boolean
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def writeData(data: Any, avroSchema: Schema, schemaId: Int): Array[Byte]
    Attributes
    protected
  45. def writeHeader(data: Any, avroSchema: Schema, schemaId: Int, out: OutputStream): Unit
    Attributes
    protected

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def getById(arg0: Int): Schema
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. def getBySubjectAndId(arg0: String, arg1: Int): Schema
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. def register(arg0: String, arg1: Schema): Int
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from DatumReaderWriterMixin

Inherited from AbstractKafkaAvroSerializer

Inherited from AbstractKafkaSchemaSerDe

Inherited from AnyRef

Inherited from Any

Ungrouped