Kafka-node: creation of topics by specifying partition and replication-factor

Created on 26 Dec 2017  路  3Comments  路  Source: SOHU-Co/kafka-node

Questions?

creation of topics by specifying partition and replication-factor using kafka-node npm, specified in the below code

Bug Report

Environment

For specific cases also provide

Include Sample Code to reproduce behavior

producer.createTopics(['t'], true, function (err, data) {});

Include output with Debug turned on

Thanks for your contribution!

enhancement

Most helpful comment

My teammates and me now want to extend Kafka-node to support the topic creation, deletion & consumer group creation and deletion. When we finish it, we will create a PR related to this issue.

All 3 comments

Is this a bug or a feature request?

Keep in mind the topic creation mechanism depends on auto topic create feature of kafka which can be disabled and if not uses the default partitions and replication set in the broker config.

Thank you for your response, 馃憤

My teammates and me now want to extend Kafka-node to support the topic creation, deletion & consumer group creation and deletion. When we finish it, we will create a PR related to this issue.

Was this page helpful?
0 / 5 - 0 ratings