RdKafka\KafkaConsumer::getSubscription

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

RdKafka\KafkaConsumer::getSubscriptionReturn the current subscription

Description

public RdKafka\KafkaConsumer::getSubscription ( void ) : array

Return the current subscription as set by RdKafka\KafkaConsumer::subscribe()

Parameters

This function has no parameters.

Return Values

Returns an array of topic names

See Also