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.
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
trait Header
class Object
trait Matchable
class Any