Class

pl.touk.nussknacker.engine.avro.schemaregistry.confluent.serialization

AbstractConfluentKafkaAvroSerializer

Related Doc: package serialization

Permalink

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
Known Subclasses
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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def configure(arg0: KafkaAvroSerializerConfig): Unit

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  7. def configureClientProperties(arg0: AbstractKafkaSchemaSerDeConfig, arg1: SchemaProvider): Unit

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  8. def createDatumReader(writerSchema: Schema, readerSchema: Schema, useSchemaReflection: Boolean, useSpecificAvroReader: Boolean): DatumReader[AnyRef]

    Permalink
    Definition Classes
    DatumReaderWriterMixin
  9. def createDatumWriter(record: Any, schema: Schema, useSchemaReflection: Boolean): GenericDatumWriter[Any]

    Permalink
    Definition Classes
    DatumReaderWriterMixin
  10. val encoderFactory: EncoderFactory

    Permalink
    Attributes
    protected
  11. def encoderToUse(schema: Schema, out: OutputStream): Encoder

    Permalink
    Attributes
    protected
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getByteBuffer(arg0: Array[Byte]): ByteBuffer

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def getOldSubjectName(arg0: Any): String

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  17. def getSchemaById(arg0: Int): ParsedSchema

    Permalink
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  18. def getSchemaBySubjectAndId(arg0: String, arg1: Int): ParsedSchema

    Permalink
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  19. def getSubjectName(arg0: String, arg1: Boolean, arg2: Any, arg3: ParsedSchema): String

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def isDeprecatedSubjectNameStrategy(arg0: Boolean): Boolean

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def lookupLatestVersion(arg0: String, arg1: ParsedSchema, arg2: Boolean): ParsedSchema

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. val primitives: Map[String, Schema]

    Permalink

    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
  28. def register(arg0: String, arg1: ParsedSchema): Int

    Permalink
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  29. def serialize(avroSchemaOpt: Option[AvroSchema], topic: String, data: Any, isKey: Boolean): Array[Byte]

    Permalink
  30. def serializeImpl(arg0: String, arg1: Any, arg2: AvroSchema): Array[Byte]

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
    Annotations
    @throws( ... ) @throws( ... )
  31. def serializerConfig(arg0: VerifiableProperties): KafkaAvroSerializerConfig

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  32. def serializerConfig(arg0: Map[String, _]): KafkaAvroSerializerConfig

    Permalink
    Attributes
    protected[io.confluent.kafka.serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def writeData(data: Any, avroSchema: Schema, schemaId: Int): Array[Byte]

    Permalink
    Attributes
    protected
  39. def writeHeader(data: Any, avroSchema: Schema, schemaId: Int, out: OutputStream): Unit

    Permalink
    Attributes
    protected

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def getById(arg0: Int): Schema

    Permalink
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @Deprecated @deprecated @throws( ... ) @throws( classOf[java.io.IOException] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. def getBySubjectAndId(arg0: String, arg1: Int): Schema

    Permalink
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @Deprecated @deprecated @throws( ... ) @throws( classOf[java.io.IOException] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. def register(arg0: String, arg1: Schema): Int

    Permalink
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @Deprecated @deprecated @throws( ... ) @throws( classOf[java.io.IOException] )
    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