io.vertx.kafka.client.producer

## Interface KafkaHeader

-     public interface KafkaHeader

  Vert.x Kafka producer record header.

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static KafkaHeader` | `header(String key, Buffer value)`
    `static KafkaHeader` | `header(String key, byte[] value)`
    `static KafkaHeader` | `header(String key, String value)`
    `String` | `key()`
    `Buffer` | `value()`

- - ### Method Detail

    - #### header

          static KafkaHeader header(String key,
                                    Buffer value)

    - #### header

          static KafkaHeader header(String key,
                                    String value)

    - #### header

          static KafkaHeader header(String key,
                                    byte[] value)

    - #### key

          String key()

      Returns:
        the buffer key

    - #### value

          Buffer value()

      Returns:
        the buffer value

Copyright © 2020 Eclipse. All rights reserved.