Producer.newTopic

class Producer
Topic
newTopic
(
const(char)[] topic
,
TopicConf topicConf = null
)

Parameters

topic const(char)[]

topic name

topicConf TopicConf

TopicConf, if null defaultTopicConf should be setted to the global configuration.

Return Value

Type: Topic

new topic for this producer

Meta