Hi Joe,

There is an option in the producer called auto.create.topics.enable, so the
producer can just start sending data to a topic and the topic will be
created with the default values.



2016-01-20 13:19 GMT+01:00 Joe San <codeintheo...@gmail.com>:

> Kafka Users,
>
> How can I create a kafka topic programatically?
>
> I would like to create the topics when I initialize my application. It
> should also be in such a way that if the topic already exists, the
> initialization code should do nothing!
>
> Thanks and Regards,
> Joe
>

Reply via email to