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.

getkafka or consumekafka?

getkafka or consumekafka?

Contributor

Whats the difference and which is better to use if we are productionizing nifi

1 REPLY 1

Re: getkafka or consumekafka?

Super Guru

@BigDataRocks

consumeKafka is the newer one and will replace getKafka. However, it also depends on the version of Kafka broker you are using.

If you are using 0.9/0.10 version of Kafka then you should use consumeKafka. This corresponds to HDP version 2.4 and 2.5.

for HDP 2.3 and 2.4 for both kerberized and non kerberized clusters without SSL, you should use getKafka. Please see the accepted answer on the following link. Basically getKafka won't work if you have SSL enabled and it wouldn't work with newer versions.

https://community.hortonworks.com/questions/50746/getkafka-or-consumekafka.html