RdKafka\Metadata\Collection::key

(PECL rdkafka >= 0.9.1)

RdKafka\Metadata\Collection::keyGet the current key

Description

public RdKafka\Metadata\Collection::key ( void ) : scalar

Get the current key.

Parameters

This function has no parameters.

Return Values

The current key if it is valid or NULL otherwise.