Hi,

My requirement is to read a specific number of messages from kafka topic
which contains data in json format and after reading number of messges, i
need to write that in a file and then stop. How can I count number of
messages read by my consumer code(either simpleconsumer or high level) ?

Please help.

-- 
Thanks,
Pankaj Ojha

Reply via email to