Node

Information about a Kafka cluster node

package

Default

Methods

Node constructor

__construct( $node = null) 

Arguments

$node

mixed | null

getHost

getHost() : string

Response

string

getId

getId() : integer

Response

integer

getIdString

getIdString() : string

Response

string

getPort

getPort() : integer

Response

integer

isEmpty

isEmpty() : boolean

Response

boolean

setHasRack

setHasRack( $hasRack) : $this

Arguments

$hasRack

boolean

Response

$this

setHost

setHost( $host) : $this

Arguments

$host

string

Response

$this

setId

setId( $id) : $this

Arguments

$id

integer

Response

$this

setIdString

setIdString( $idString) : $this

Arguments

$idString

string

Response

$this

setIsEmpty

setIsEmpty( $isEmpty) : $this

Arguments

$isEmpty

boolean

Response

$this

setPort

setPort( $port) : $this

Arguments

$port

integer

Response

$this

setRack

setRack( $rack) : $this

Arguments

$rack

string

Response

$this