fs2.kafka
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.
String
Array[Byte]
The header key.
The serialized header value.
Deserializes the value to the specified type.
Attempts to deserialize the value to the specified type.
Creates a new Headers instance with this header included.
Header represents a
String
key andArray[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.