Class Options¶
abstract Class \RdKafka\Admin\Options
Methods¶
__construct()¶
public __construct (
\RdKafka $kafka,
int $for_api
):
- Parameters
- kafka
\RdKafka
- for_api
int
__destruct()¶
public __destruct ( ):
getCData()¶
public getCData ( ): \FFI\CData
- Returns
\FFI\CData
setBrokerId()¶
public setBrokerId (
int $broker_id
): void
- Parameters
- broker_id
int
setOperationTimeout()¶
public setOperationTimeout (
int $timeout_ms
): void
- Parameters
- timeout_ms
int
setRequestTimeout()¶
public setRequestTimeout (
int $timeout_ms
): void
- Parameters
- timeout_ms
int
setValidateOnly()¶
public setValidateOnly (
bool $true_or_false
): void
- Parameters
- true_or_false
bool
Test Coverage 💛¶
- 💛 Lines: 90% (36 / 40)
- ❤️ Methods: 42.86% (3 / 7)
Extended by¶
- \RdKafka\Admin\AlterConfigsOptions
- \RdKafka\Admin\CreatePartitionsOptions
- \RdKafka\Admin\CreateTopicsOptions
- \RdKafka\Admin\DeleteConsumerGroupOffsetsOptions
- \RdKafka\Admin\DeleteGroupsOptions
- \RdKafka\Admin\DeleteRecordsOptions
- \RdKafka\Admin\DeleteTopicsOptions
- \RdKafka\Admin\DescribeConfigsOptions