NewTopic

A new topic to be created

package

Default

Methods

NewTopic constructor

__construct( $newTopic = null) 

Arguments

$newTopic

mixed | null

getConfig

getConfig() : array

Response

array

getName

getName() : string

Response

string

getNumPartitions

getNumPartitions() : integer

Response

integer

getReplicationFactor

getReplicationFactor() : integer

Response

integer

setConfig

setConfig( $config) : $this

Arguments

$config

string

Response

$this

setName

setName( $name) : $this

Arguments

$name

string

Response

$this

setNumPartitions

setNumPartitions( $numPartitions) : $this

Arguments

$numPartitions

integer

Response

$this

setReplicationFactor

setReplicationFactor( $replicationFactor) : $this

Arguments

$replicationFactor

integer

Response

$this