RdKafka\Conf::setDefaultTopicConf

(PECL rdkafka >= 1.0.0, librdkafka >= 0.9)

RdKafka\Conf::setDefaultTopicConfSet default topic configuration

Warning

This function has been DEPRECATED. Relying on this feature is highly discouraged. Set default topic settings normally like global configuration settings.

Description

public RdKafka\Conf::setDefaultTopicConf ( RdKafka\TopicConf $topic_conf ) : void

Sets the default topic configuration to use for for automatically subscribed topics. This can be used along with RdKafka\KafkaConsumer::subscribe() or RdKafka\KafkaConsumer::assign().

Parameters

topic_conf (RdKafka\TopicConf)

A RdKafka\TopicConf instance.

Return Values

Returns no value.