Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

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.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.