(PECL rdkafka >= 1.0.0, librdkafka >= 0.9)
RdKafka\KafkaConsumer::getAssignment — Returns the current partition assignment
Returns the current partition assignment as set by RdKafka\KafkaConsumer::assign() or by rebalancing.
This function has no parameters.
Returns an array of RdKafka\TopicPartition