RdKafka\TopicPartition::getTopic

(PECL rdkafka >= 1.0.0, librdkafka >= 0.9)

RdKafka\TopicPartition::getTopicGet the topic name

Description

public RdKafka\TopicPartition::getTopic ( void ) : string

Gets the topic name.

Parameters

This function has no parameters.

Return Values

Returns the topic name as a string