object Serializer extends Serdes
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Serializer
- Serdes
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[R, T](ser: (String, Headers, T) => RIO[R, Array[Byte]]): Serializer[R, T]
Create a serializer from a function
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val byteArray: Serde[Any, Array[Byte]]
Optimisation
Optimisation
Here, we're not using
KafkaSerdes.ByteArray()because the underlying deserializer and serializer implementations are just identity functions.That allows us to use ZIO.succeed instead of ZIO.attempt.
- Definition Classes
- Serdes
- val byteBuffer: Serde[Any, ByteBuffer]
- Definition Classes
- Serdes
- val bytes: Serde[Any, Bytes]
- Definition Classes
- Serdes
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val double: Serde[Any, Double]
- Definition Classes
- Serdes
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val float: Serde[Any, Float]
- Definition Classes
- Serdes
- def fromKafkaSerializer[T](serializer: org.apache.kafka.common.serialization.Serializer[T], props: Map[String, AnyRef], isKey: Boolean): Task[Serializer[Any, T]]
Create a Serializer from a Kafka Serializer
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val int: Serde[Any, Int]
- Definition Classes
- Serdes
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val long: Serde[Any, Long]
- Definition Classes
- Serdes
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val short: Serde[Any, Short]
- Definition Classes
- Serdes
- val string: Serde[Any, String]
- Definition Classes
- Serdes
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val uuid: Serde[Any, UUID]
- Definition Classes
- Serdes
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()