Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to schedule kafka consumer properly in apache nifi?

Highlighted

How to schedule kafka consumer properly in apache nifi?

New Contributor

I'm trying to use one consumer continuously read data from kafka. How should I set the scheduling options?

I have read the User Guide, but I can not figure out how to set the run schedule and run duration if I need the consumer run continuously.

1 REPLY 1

Re: How to schedule kafka consumer properly in apache nifi?

Super Guru

@sunxingbin sunxingbin

Schedule the processor with

Scheduling Strategy -> Timer Driven
Run Schedule -> 0 sec

then processor will run continuously and read data from Kafka topic.