Packages

class GenericSerde[T >: Null] extends Serde[T] with Deserializer[T] with Serializer[T] with Serializable

Kafka Serde using Avro4s for serializing to/deserialising from case classes into Avro records, without integration with the Confluent schema registry.

The implicit schemaFor instance is used as the writer schema when deserializing, in case it needs to diverge from both writer schema used in serialize, and the desired schema in deserialize.

Linear Supertypes
Serializable, Serializer[T], Deserializer[T], Serde[T], Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenericSerde
  2. Serializable
  3. Serializer
  4. Deserializer
  5. Serde
  6. Closeable
  7. AutoCloseable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GenericSerde(avroFormat: AvroFormat = BinaryFormat)(implicit arg0: SchemaFor[T], arg1: Encoder[T], arg2: Decoder[T])

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(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def close(): Unit
    Definition Classes
    GenericSerde → Serializer → Deserializer → Serde → Closeable → AutoCloseable
  7. def configure(configs: Map[String, _], isKey: Boolean): Unit
    Definition Classes
    GenericSerde → Serializer → Deserializer → Serde
  8. def deserialize(topic: String, data: Array[Byte]): T
    Definition Classes
    GenericSerde → Deserializer
  9. def deserialize(arg0: String, arg1: Headers, arg2: Array[Byte]): T
    Definition Classes
    Deserializer
  10. def deserializer(): Deserializer[T]
    Definition Classes
    GenericSerde → Serde
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. val schema: Schema
  20. def serialize(topic: String, data: T): Array[Byte]
    Definition Classes
    GenericSerde → Serializer
  21. def serialize(arg0: String, arg1: Headers, arg2: T): Array[Byte]
    Definition Classes
    Serializer
  22. def serializer(): Serializer[T]
    Definition Classes
    GenericSerde → Serde
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Serializable

Inherited from Serializer[T]

Inherited from Deserializer[T]

Inherited from Serde[T]

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped