Interface KafkaHeader


  • @Immutable
    @DoNotImplement
    public interface KafkaHeader
    Represents the header of a Kafka record, that was either read from or should be written to a Kafka cluster.

    The internal state of this interface is completely immutable. All returned ByteBuffers are read only and a deep copy of any byte[] is made for every method call returning one.

    Since:
    4.4.0