PartitionInfo

Information about a specific Kafka topic partition

package

Default

Methods

PartitionInfo constructor

__construct( $partitionInfo = null) 

Arguments

$partitionInfo

mixed | null

getInSyncReplicas

getInSyncReplicas() : array

Response

array

getLeader

getLeader() : \io\vertx\jphp\kafka\client\common\Node

getPartition

getPartition() : integer

Response

integer

getReplicas

getReplicas() : array

Response

array

getTopic

getTopic() : string

Response

string

setInSyncReplicas

setInSyncReplicas( $inSyncReplicas) : $this

Arguments

$inSyncReplicas

Node|array

Response

$this

setLeader

setLeader( $leader) : $this

Arguments

$leader

Node|array

Response

$this

setPartition

setPartition( $partition) : $this

Arguments

$partition

integer

Response

$this

setReplicas

setReplicas( $replicas) : $this

Arguments

$replicas

Node|array

Response

$this

setTopic

setTopic( $topic) : $this

Arguments

$topic

string

Response

$this