TopicPartition

Represent information related to a partition for a topic

package

Default

Methods

TopicPartition constructor

__construct( $topicPartition = null) 

Arguments

$topicPartition

mixed | null

getPartition

getPartition() : integer

Response

integer

getTopic

getTopic() : string

Response

string

setPartition

setPartition( $partition) : $this

Arguments

$partition

integer

Response

$this

setTopic

setTopic( $topic) : $this

Arguments

$topic

string

Response

$this