apache-kafkaakhq

Count mismatch in AKHQ UI 0.24.0


I am producing 10 records to kafka topic and able to consume all 10 but in AKHQ UI I am seeing count as 12 . If I count the values manually its 10 only (same as what's produced).

PFA

AKHQ UI

Tried changing sort Order to newest but didn't help .

Also observed 12 data is shown in offset when checked in data 153-161 offset have only 7 records and 132-136 have only 3 records (please refer image 3 )

offset_count

image-3


Solution

  • Transaction markers are unique offsets in Kafka that'll automatically be skipped by consumers, but naive offset counting cannot exclude them