RdKafka\TopicPartition::setTopic

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

RdKafka\TopicPartition::setTopicSet the topic name

Description

public RdKafka\TopicPartition::setTopic ( string $topic_name ) : ReturnType

Sets the topic name.

Parameters

topic_name

Topic name

Return Values

Returns no value.