Packages

class ConfluentKafkaAvroSerializer extends AbstractConfluentKafkaAvroSerializer with Serializer[Any]

This is Kafka Avro Serializer class. All events will be serialized to provided schema.

Linear Supertypes
Serializer[Any], AbstractConfluentKafkaAvroSerializer, DatumReaderWriterMixin, AbstractKafkaAvroSerializer, AbstractKafkaSchemaSerDe, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfluentKafkaAvroSerializer
  2. Serializer
  3. AbstractConfluentKafkaAvroSerializer
  4. DatumReaderWriterMixin
  5. AbstractKafkaAvroSerializer
  6. AbstractKafkaSchemaSerDe
  7. Closeable
  8. AutoCloseable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConfluentKafkaAvroSerializer(kafkaConfig: KafkaConfig, confluentSchemaRegistryClient: ConfluentSchemaRegistryClient, schemaEvolutionHandler: AvroSchemaEvolution, avroSchemaOpt: Option[AvroSchema], _isKey: Boolean)

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 autoRegisterSchemaIfNeeded(topic: String, data: Any, isKey: Boolean, avroSchema: AvroSchema): SchemaId
    Attributes
    protected
    Definition Classes
    AbstractConfluentKafkaAvroSerializer
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def close(): Unit
    Definition Classes
    ConfluentKafkaAvroSerializer → Serializer → AbstractKafkaSchemaSerDe → Closeable → AutoCloseable
  8. def configure(configs: Map[String, _], isKey: Boolean): Unit
    Definition Classes
    ConfluentKafkaAvroSerializer → Serializer
  9. def configure(arg0: KafkaAvroSerializerConfig): Unit
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  10. def configureClientProperties(arg0: AbstractKafkaSchemaSerDeConfig, arg1: SchemaProvider): Unit
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  11. def createDatumReader(writerSchema: Schema, readerSchema: Schema): DatumReader[AnyRef]
    Definition Classes
    DatumReaderWriterMixin
  12. def createDatumWriter(schema: Schema): GenericDatumWriter[Any]
    Definition Classes
    DatumReaderWriterMixin
  13. val encoderFactory: EncoderFactory
    Attributes
    protected
    Definition Classes
    AbstractConfluentKafkaAvroSerializer
  14. def encoderToUse(schema: Schema, out: OutputStream): Encoder
    Attributes
    protected
    Definition Classes
    AbstractConfluentKafkaAvroSerializer
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def executeMigrations(arg0: List[Migration], arg1: String, arg2: String, arg3: Headers, arg4: Any): AnyRef
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] )
  18. def executeRules(arg0: String, arg1: String, arg2: Headers, arg3: Any, arg4: RuleMode, arg5: ParsedSchema, arg6: ParsedSchema, arg7: Any): AnyRef
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  19. def executeRules(arg0: String, arg1: String, arg2: Headers, arg3: RuleMode, arg4: ParsedSchema, arg5: ParsedSchema, arg6: Any): AnyRef
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  20. def getByteBuffer(arg0: Array[Byte]): ByteBuffer
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def getContextName(arg0: String, arg1: String): String
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  23. def getContextName(arg0: String): String
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  24. def getLatestWithMetadata(arg0: String): ParsedSchema
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  25. def getMigrations(arg0: String, arg1: ParsedSchema, arg2: ParsedSchema): List[Migration]
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  26. def getOldSubjectName(arg0: Any): String
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  27. def getRuleActions(): Map[String, Map[String, RuleBase]]
    Definition Classes
    AbstractKafkaSchemaSerDe
  28. def getRuleExecutors(): Map[String, Map[String, RuleBase]]
    Definition Classes
    AbstractKafkaSchemaSerDe
  29. def getSchemaById(arg0: Int): ParsedSchema
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  30. def getSchemaBySubjectAndId(arg0: String, arg1: Int): ParsedSchema
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  31. def getSubjectName(arg0: String, arg1: Boolean, arg2: Any, arg3: ParsedSchema): String
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def isDeprecatedSubjectNameStrategy(arg0: Boolean): Boolean
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def isKey(): Boolean
    Definition Classes
    AbstractKafkaSchemaSerDe
  36. def latestVersionsCache(): Map[SubjectSchema, ParsedSchema]
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  37. def latestWithMetadataCache(): Map[String, ParsedSchema]
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  38. def lookupLatestVersion(arg0: String, arg1: ParsedSchema, arg2: Boolean): ParsedSchema
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  39. def lookupSchemaBySubjectAndId(arg0: String, arg1: Int, arg2: ParsedSchema, arg3: Boolean): ParsedSchema
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  43. def postOp(arg0: Any): Unit
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  44. def register(arg0: String, arg1: ParsedSchema, arg2: Boolean): Int
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  45. def register(arg0: String, arg1: ParsedSchema): Int
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  46. def registerWithResponse(arg0: String, arg1: ParsedSchema, arg2: Boolean): Schema
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  47. def serialize(topic: String, headers: Headers, data: Any): Array[Byte]
    Definition Classes
    ConfluentKafkaAvroSerializer → Serializer
  48. def serialize(topic: String, data: Any): Array[Byte]
    Definition Classes
    ConfluentKafkaAvroSerializer → Serializer
  49. def serialize(avroSchemaOpt: Option[AvroSchema], topic: String, data: Any, isKey: Boolean, headers: Headers): Array[Byte]
  50. def serializeImpl(arg0: String, arg1: String, arg2: Headers, arg3: Any, arg4: AvroSchema): Array[Byte]
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
    Annotations
    @throws( ... ) @throws( ... )
  51. def serializeImpl(arg0: String, arg1: Any, arg2: AvroSchema): Array[Byte]
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
    Annotations
    @throws( ... ) @throws( ... )
  52. def serializerConfig(arg0: Properties): KafkaAvroSerializerConfig
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  53. def serializerConfig(arg0: Map[String, _]): KafkaAvroSerializerConfig
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaAvroSerializer
  54. def strategyUsesSchema(arg0: Boolean): Boolean
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  55. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  56. def ticker(arg0: io.confluent.kafka.schemaregistry.client.SchemaRegistryClient): Ticker
    Attributes
    protected[serializers]
    Definition Classes
    AbstractKafkaSchemaSerDe
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def writeData(data: Any, avroSchema: Schema, schemaId: SchemaId, headers: Headers): Array[Byte]
    Attributes
    protected
    Definition Classes
    AbstractConfluentKafkaAvroSerializer
  62. def writeHeader(schemaId: SchemaId, out: OutputStream, headers: Headers): Unit
    Attributes
    protected
    Definition Classes
    AbstractConfluentKafkaAvroSerializer

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 Serializer[Any]

Inherited from DatumReaderWriterMixin

Inherited from AbstractKafkaAvroSerializer

Inherited from AbstractKafkaSchemaSerDe

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped