zio.kafka.serde.Serializer
See theSerializer companion trait
object Serializer
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Serializer.type
Members list
Value members
Concrete methods
Create a serializer from a function
Create a serializer from a function
Attributes
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
Attributes
Inherited fields
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.
Attributes
- Inherited from:
- Serdes (hidden)
Attributes
- Inherited from:
- Serdes (hidden)
In this article