- Companion
- class
Type members
Value members
Concrete methods
Creates a new HeaderDeserializer which deserializes
all bytes to the specified value of type A
.
Creates a new HeaderDeserializer which deserializes
all bytes to the specified value of type A
.
Creates a new HeaderDeserializer which delegates deserialization
to the specified Kafka Deserializer
. Please note that the close
and configure
functions won't be called for the delegate. Also,
the topic is an empty String
and no headers are provided.
Creates a new HeaderDeserializer which delegates deserialization
to the specified Kafka Deserializer
. Please note that the close
and configure
functions won't be called for the delegate. Also,
the topic is an empty String
and no headers are provided.
Creates a new HeaderDeserializer from the specified function.
Creates a new HeaderDeserializer from the specified function.
Creates a new HeaderDeserializer which deserializes String
values using the specified Charset
. Note that the default
String
deserializer uses UTF-8
.
Creates a new HeaderDeserializer which deserializes String
values using the specified Charset
. Note that the default
String
deserializer uses UTF-8
.
Creates a new HeaderDeserializer which deserializes String
values using the specified Charset
as UUID
s. Note that the
default UUID
deserializer uses UTF-8
.
Creates a new HeaderDeserializer which deserializes String
values using the specified Charset
as UUID
s. Note that the
default UUID
deserializer uses UTF-8
.
Implicits
Implicits
The identity HeaderDeserializer, which does not perform any kind of deserialization, simply using the input bytes as the output.
The identity HeaderDeserializer, which does not perform any kind of deserialization, simply using the input bytes as the output.
The option HeaderDeserializer returns None
when the bytes
are null
, and otherwise deserializes using the deserializer
for the type A
, wrapping the result in Some
.
The option HeaderDeserializer returns None
when the bytes
are null
, and otherwise deserializes using the deserializer
for the type A
, wrapping the result in Some
.