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.

nifi to kafka: data sequence does not exist

nifi to kafka: data sequence does not exist

New Contributor

I am publishing flowfiles from nifi to kafka, using publishKafka_0_10 processor. While reading datafrom Kafka through code, the sequence of data is not maintained (sorted according to timestamp). My data set is like: timestamp, channel,value.

Just to debug, I am publishing the same flowfiles to phoenix using PutSql and I can see that in Phoenix table, data is sequential (sorted according to time). It would be great if someone explains me why am I not able to read data from kafka sequentially. There is only one partition in topic in kafka. Thanks in advance.