JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Deprecated
Index
Search
Help
org.apache.kafka.common.header
Header
Contents
Description
Method Summary
Method Details
key()
value()
Hide sidebar
Show sidebar
Interface Header
public interface
Header
A header is a key-value pair.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
String
key
()
Returns the key of the header.
byte[]
value
()
Returns the value of the header.
Method Details
key
String
key
()
Returns the key of the header.
Returns:
the header's key; must not be null.
value
byte[]
value
()
Returns the value of the header.
Returns:
the header's value; may be null.