Skip to content

Class TopicConf

Class \RdKafka\TopicConf

Methods

__construct()

public __construct (  ): 

__destruct()

public __destruct (  ): 

dump()

public dump (  ): array
Returns
array

getCData()

public getCData (  ): \FFI\CData
Returns
\FFI\CData

getOpaque()

public getOpaque (  ): mixed|null
Returns
mixed|null

set()

public set ( 
    string $name, 
    string $value
 ): void
Parameters
name string
value string

setOpaque()

public setOpaque ( 
    mixed $opaque
 ): void
Parameters
opaque mixed

setPartitioner()

public setPartitioner ( 
    int $partitioner
 ): void
Parameters
partitioner int

setPartitionerCb()

public setPartitionerCb ( 
    callable $callback
 ): void
Parameters
callback callable

Test Coverage ๐Ÿ’›

  • ๐Ÿ’› Lines: 76.19% (48 / 63)
  • ๐Ÿงก Methods: 66.67% (6 / 9)