(PECL rdkafka >= 1.0.0, librdkafka >= 0.9)
RdKafka\TopicPartition::getPartition — Get the partition ID
Gets the partition ID.
This function has no parameters.
Returns the partition ID as an integer.