Functional composable Kafka key- and record serializer with support for effect types.
- Companion:
- object
Value members
Abstract methods
Creates a new Serializer which applies the specified
function f
on a value of type B
, and then serializes
the result with this Serializer.
Creates a new Serializer which applies the specified
function f
on a value of type B
, and then serializes
the result with this Serializer.
Creates a new Serializer which applies the specified
function f
on a value of type B
, and then serializes
the result with this Serializer.
Creates a new Serializer which applies the specified
function f
on a value of type B
, and then serializes
the result with this Serializer.
Creates a new Serializer which applies the specified
function f
on the output bytes of this Serializer.
Creates a new Serializer which applies the specified
function f
on the output bytes of this Serializer.
Creates a new Serializer which applies the specified
function f
on the output bytes of this Serializer.
Creates a new Serializer which applies the specified
function f
on the output bytes of this Serializer.
Creates a new Serializer which serializes Some
values
using this Serializer, and serializes None
as null
.
Creates a new Serializer which serializes Some
values
using this Serializer, and serializes None
as null
.
Creates a new Serializer which serializes Some
values
using this Serializer, and serializes None
as null
.
Creates a new Serializer which serializes Some
values
using this Serializer, and serializes None
as null
.
Attempts to serialize the specified value of type A
into
bytes. The Kafka topic name, to which the serialized bytes
are going to be sent, and record headers are available.
Attempts to serialize the specified value of type A
into
bytes. The Kafka topic name, to which the serialized bytes
are going to be sent, and record headers are available.
Attempts to serialize the specified value of type A
into
bytes. The Kafka topic name, to which the serialized bytes
are going to be sent, and record headers are available.
Attempts to serialize the specified value of type A
into
bytes. The Kafka topic name, to which the serialized bytes
are going to be sent, and record headers are available.
Creates a new Serializer which suspends serialization, capturing any impure behaviours of this Serializer.
Creates a new Serializer which suspends serialization, capturing any impure behaviours of this Serializer.
Creates a new Serializer which suspends serialization, capturing any impure behaviours of this Serializer.
Creates a new Serializer which suspends serialization, capturing any impure behaviours of this Serializer.