RecordMetadata

Metadata related to a Kafka record

package

Default

Methods

RecordMetadata constructor

__construct( $recordMetadata = null) 

Arguments

$recordMetadata

mixed | null

getOffset

getOffset() : integer

Response

integer

getPartition

getPartition() : integer

Response

integer

getTimestamp

getTimestamp() : integer

Response

integer

getTopic

getTopic() : string

Response

string

setChecksum

setChecksum( $checksum) : $this

Arguments

$checksum

integer

Response

$this

setOffset

setOffset( $offset) : $this

Arguments

$offset

integer

Response

$this

setPartition

setPartition( $partition) : $this

Arguments

$partition

integer

Response

$this

setTimestamp

setTimestamp( $timestamp) : $this

Arguments

$timestamp

integer

Response

$this

setTopic

setTopic( $topic) : $this

Arguments

$topic

string

Response

$this