Serializer

object Serializer extends Serdes
Companion:
class
trait Serdes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[R, T](ser: (String, Headers, T) => RIO[R, Array[Byte]]): Serializer[R, T]

Create a serializer from a function

Create a serializer from a function

def fromKafkaSerializer[T](serializer: Serializer[T], props: Map[String, AnyRef], isKey: Boolean): Task[Serializer[Any, T]]

Create a Serializer from a Kafka Serializer

Create a Serializer from a Kafka Serializer

Inherited fields

lazy val byteArray: Serde[Any, Array[Byte]]
Inherited from:
Serdes
lazy val byteBuffer: Serde[Any, ByteBuffer]
Inherited from:
Serdes
lazy val double: Serde[Any, Double]
Inherited from:
Serdes
lazy val float: Serde[Any, Float]
Inherited from:
Serdes
lazy val int: Serde[Any, Int]
Inherited from:
Serdes
lazy val long: Serde[Any, Long]
Inherited from:
Serdes
lazy val short: Serde[Any, Short]
Inherited from:
Serdes
lazy val string: Serde[Any, String]
Inherited from:
Serdes
lazy val uuid: Serde[Any, UUID]
Inherited from:
Serdes