With the caveat that it won't necessarily be accurate with log compacted topics
> On Oct 30, 2018, at 6:22 AM, Burton Williams <[email protected]> > wrote: > > @matthias is right. His solution is more performant and scalable. > > -BW > > On Mon, Oct 29, 2018 at 6:52 PM Matthias J. Sax <[email protected]> > wrote: > >> 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 <[email protected]> >>> 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 >>>> >>> >> >>
