So far I haven't seen a c++ client librdkafka that implements the creation of a topic explicitly without using the configuration option to create automatically the topics.
Asked
Active
Viewed 1,299 times
1
-
Look at the example code? https://github.com/edenhill/librdkafka/blob/master/examples/rdkafka_example.cpp#L650 – OneCricketeer Dec 13 '20 at 00:21
-
Or the documentation? https://docs.confluent.io/platform/current/clients/librdkafka/classRdKafka_1_1Topic.html – OneCricketeer Dec 13 '20 at 00:26
-
1Yes I will try this. Thanks for the reference doc. – lakshmiravali rimmalapudi Dec 14 '20 at 07:31
-
In case someone is using modern-cpp-kafka library - https://github.com/morganstanley/modern-cpp-kafka/blob/main/include/kafka/AdminClient.h – shaktisinghr Aug 29 '21 at 02:05