« RdKafka\Exception
RdKafka\TopicPartition::__construct »
PHP Manual
Rdkafka
The RdKafka\TopicPartition class
The RdKafka\TopicPartition class
(PECL rdkafka >= 1.0.0, librdkafka >= 0.9)
Introduction
Topic+Partition
Class synopsis
RdKafka\TopicPartition
{
/* Methods */
public
getOffset
(
void
) :
integer
public
getPartition
(
void
) :
integer
public
getTopic
(
void
) :
string
public
setOffset
(
string
$offset
) :
void
public
setPartition
(
string
$partition
) :
ReturnType
public
setTopic
(
string
$topic_name
) :
ReturnType
}
Table of Contents
RdKafka\TopicPartition::__construct
— Constructor
RdKafka\TopicPartition::getOffset
— Get the offset
RdKafka\TopicPartition::getPartition
— Get the partition ID
RdKafka\TopicPartition::getTopic
— Get the topic name
RdKafka\TopicPartition::setOffset
— Set the offset
RdKafka\TopicPartition::setPartition
— Set the partition ID
RdKafka\TopicPartition::setTopic
— Set the topic name