(PECL rdkafka >= 0.9.1)
RdKafka::newTopic — Create a new topic instance
Parameterstopic_name
Topic name
topic_conf
Optional configuration that will be used instead of the default topic configuration.
Note:
Creating two topic instances for the same topic name with different configurations has no effect. Every topic instance will use the configuration of the first instance.
Example #1 RdKafka::newTopic() example
<?php
$conf = new RdKafka\TopicConf();
$conf->set("...", "...");$topic = $kafka->newTopic("myTopic", $conf);
?>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4