Skip to content

Functions

rd_kafka_err2name

\rd_kafka_err2name() ( 
    int $err
 ): string
Parameters
err int Error code
Returns
string The error name as a string.

rd_kafka_err2str

\rd_kafka_err2str() ( 
    int $err
 ): string
Parameters
err int Error code
Returns
string The error description a string.

rd_kafka_errno2err

\rd_kafka_errno2err() ( 
    int $errnox
 ): int
Parameters
errnox int A system errno
Returns
int A kafka error code as an integer.

Deprecated

rd_kafka_errno

\rd_kafka_errno() (  ): int
Returns
int The system errno as an integer.

Deprecated

rd_kafka_offset_tail

\rd_kafka_offset_tail() ( 
    int $cnt
 ): int
Parameters
cnt int
Returns
int Returns the special offset as an integer.

rd_kafka_thread_cnt

\rd_kafka_thread_cnt() (  ): int
Returns
int Retrieve the current number of threads in use by librdkafka.

rd_kafka_version

\rd_kafka_version() (  ): string
Returns
string The librdkafka version.