(PECL rdkafka >= 0.9.1)
RdKafka\Metadata::getTopics — Get the topic list
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.
This function has no parameters.
Returns a RdKafka\Metadata\Collection of RdKafka\Metadata\Topic