Header represents a String
key and Array[Byte]
value
which can be included as part of Headers when creating a
ProducerRecord. Headers are included together with a
record once produced, and can be used by consumers.
To create a new Header, use Header#apply.
- Companion:
- object
- Source:
- Header.scala
Value members
Abstract methods
The serialized header value.
The serialized header value.
- Definition Classes
- Header
- Source:
- Header.scala
Concrete methods
Deserializes the value to the specified type.
Deserializes the value to the specified type.
- Source:
- Header.scala