That is quite expensive to do... Might be best to write a short Java program that uses Consumer#endOffset() and Consumer#beginningOffsets()
-Matthias On 10/29/18 3:02 PM, Burton Williams wrote: > you can user kafkacat starting at that offset to head and pipe the output > to "wc -l" (word count). > > -BW > > On Mon, Oct 29, 2018 at 3:39 AM Sachit Murarka <connectsac...@gmail.com> > wrote: > >> Hi All, >> >> Could you please help me in getting count of all messages stored in kafka >> from a particular offset? >> I have tried GetOffsetShell command, it is not giving me. >> >> >> Kind Regards, >> Sachit Murarka >> >
signature.asc
Description: OpenPGP digital signature