RdKafka\Metadata::getTopics

(PECL rdkafka >= 0.9.1)

RdKafka\Metadata::getTopicsGet the topic list

Description

public RdKafka\Metadata\Collection RdKafka\Metadata::getTopics ( void )

Get the topic list. Depending of how metadata was requested, this may contain a single topic, the list of locally-known topics, or all cluster topics.

Parameters

This function has no parameters.

Return Values

Returns a RdKafka\Metadata\Collection of RdKafka\Metadata\Topic