A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://arnaud-lb.github.io/php-rdkafka-doc/phpdoc/rdkafka.newtopic.html below:

Create a new topic instance

RdKafka::newTopic

(PECL rdkafka >= 0.9.1)

RdKafka::newTopicCreate a new topic instance

Parameters
topic_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.

Examples

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