KafkaHeader

Vert.x Kafka producer record header.

package

Default

Methods

__construct

__construct() 

param $key [string] param $value [Buffer] <b> header($key, $value) </b>

header( $arg0,  $arg1) : \io\vertx\jphp\kafka\client\producer\KafkaHeader
static

param $key [string] param $value [string] header($key, $value)

Arguments

$arg0

string

$arg1

Buffer | string

Response

\io\vertx\jphp\kafka\client\producer\KafkaHeader

key

key() : string

Response

string

the buffer key

value

value() : \io\vertx\jphp\core\buffer\Buffer

Response

\io\vertx\jphp\core\buffer\Buffer

the buffer value