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.