Package org.apache.kafka.common.header
Interface Header
public interface Header
A header is a key-value pair.
-
Method Summary
-
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.
-