Gilad_Tz
Gilad_Tz

Reputation: 35

Creating new kafka topic using nifi

I'm trying to put some data into an uncreated Kafka topic using the PublishKafka_2.0 processor in Nifi.

I don't have a direct approach to the Kafka server - only via the nifi flow, and i need to create 3 new topics for the data.

How can it be done using nifi??

thank you!

Upvotes: 0

Views: 648

Answers (1)

Mike Thomsen
Mike Thomsen

Reputation: 37526

You would need to enable automatic creation of Kafka topics from Kafka itself. NiFi doesn't have any control over Kafka. It just supports consuming and producing. From the sound of it, you may have a setup where automatic topic creation is disabled, so you'll need to have someone create the topics for you.

Upvotes: 2

Related Questions