Deserializes the specified bytes into a value of type A
.
Deserializes the specified bytes into a value of type A
. The
Kafka topic name, from which the serialized bytes came, and
record headers are available.
Creates a new Deserializer which catches any non-fatal exceptions during deserialization with this Deserializer.
Always only returns Unit
.
Always only returns Unit
. For interoperability with Kafka deserialization.
Always only returns Unit
.
Always only returns Unit
. For interoperability with Kafka deserialization.
Creates a new Deserializer which does deserialization
lazily by wrapping this Deserializer in Eval.always
.
For interoperability with Kafka deserialization.
For interoperability with Kafka deserialization.
For interoperability with Kafka deserialization.
For interoperability with Kafka deserialization.
Creates a new Deserializer using the result of this Deserializer and the specified function.
Creates a new Deserializer which applies the specified
function f
to the result of this Deserializer.
Creates a new Deserializer which returns None
when the
bytes are null
, and otherwise returns the result of this
Deserializer wrapped in Some
.
Creates a new Deserializer which deserializes both using this Deserializer and that Deserializer, and returns both results in a tuple.
Deserializer is a functional Kafka deserializer which directly extends the Kafka
Deserializer
interface, but doesn't make use ofclose
orconfigure
. There is only a single function for deserialization, which provides access to the record headers.