HeaderDeserializer is a functional deserializer for Kafka record
header values. It's similar to Deserializer, except it only has
access to the header bytes, and it does not interoperate with the
Kafka Deserializer
interface.
HeaderDeserializer is a functional deserializer for Kafka record
header values. It's similar to Deserializer, except it only has
access to the header bytes, and it does not interoperate with the
Kafka Deserializer
interface.
- Companion
- object
Value members
Abstract methods
Deserializes the header value bytes into a value of type A
.
Deserializes the header value bytes into a value of type A
.
Concrete methods
Creates a new HeaderDeserializer which catches any non-fatal exceptions during deserialization with this HeaderDeserializer.
Creates a new HeaderDeserializer which catches any non-fatal exceptions during deserialization with this HeaderDeserializer.
Creates a new HeaderDeserializer which catches any non-fatal exceptions during deserialization with this HeaderDeserializer.
Creates a new HeaderDeserializer which catches any non-fatal exceptions during deserialization with this HeaderDeserializer.
Creates a new HeaderDeserializer which does deserialization
lazily by wrapping this HeaderDeserializer in Eval.always
.
Creates a new HeaderDeserializer which does deserialization
lazily by wrapping this HeaderDeserializer in Eval.always
.
Creates a new HeaderDeserializer which does deserialization
lazily by wrapping this HeaderDeserializer in Eval.always
.
Creates a new HeaderDeserializer which does deserialization
lazily by wrapping this HeaderDeserializer in Eval.always
.
Creates a new HeaderDeserializer using the result of this HeaderDeserializer and the specified function.
Creates a new HeaderDeserializer using the result of this HeaderDeserializer and the specified function.
Creates a new HeaderDeserializer using the result of this HeaderDeserializer and the specified function.
Creates a new HeaderDeserializer using the result of this HeaderDeserializer and the specified function.
Creates a new HeaderDeserializer which applies the specified
function f
to the result of this HeaderDeserializer.
Creates a new HeaderDeserializer which applies the specified
function f
to the result of this HeaderDeserializer.
Creates a new HeaderDeserializer which applies the specified
function f
to the result of this HeaderDeserializer.
Creates a new HeaderDeserializer which applies the specified
function f
to the result of this HeaderDeserializer.
Creates a new HeaderDeserializer which returns None
when
the bytes are null
, and otherwise returns the result of this
HeaderDeserializer wrapped in Some
.
Creates a new HeaderDeserializer which returns None
when
the bytes are null
, and otherwise returns the result of this
HeaderDeserializer wrapped in Some
.
Creates a new HeaderDeserializer which returns None
when
the bytes are null
, and otherwise returns the result of this
HeaderDeserializer wrapped in Some
.
Creates a new HeaderDeserializer which returns None
when
the bytes are null
, and otherwise returns the result of this
HeaderDeserializer wrapped in Some
.
Creates a new HeaderDeserializer which deserializes both using this HeaderDeserializer and that HeaderDeserializer, and returns both results in a tuple.
Creates a new HeaderDeserializer which deserializes both using this HeaderDeserializer and that HeaderDeserializer, and returns both results in a tuple.
Creates a new HeaderDeserializer which deserializes both using this HeaderDeserializer and that HeaderDeserializer, and returns both results in a tuple.
Creates a new HeaderDeserializer which deserializes both using this HeaderDeserializer and that HeaderDeserializer, and returns both results in a tuple.