Hi Senthil, Yes, I believe the only guarantee is that the offsets will be increasing but not guaranteed to be consecutive.
Regards, Srinath. On Mon, Jul 1, 2019 at 4:15 PM SenthilKumar K <senthilec...@gmail.com> wrote: > Hello Experts, We are trying to understand *"How Kafka Assign Offset value > to a message?"* > > Kafka Version : 2.2.0 > Kafka Client : 1.1.0 > > For a Topic , Using Java Consumer API we consumed data from Partition 0 ( > total 48 Partitions ) and below are the offset numbers. > > 181933 > 181935 > 181936 > 181939 > 181941 > 181942 > 181943 > 181944 > 181945 > > > 181934,181937,18193 are the missing offset numbers for partition 0. Is this > expected behaviour ?there is no guarantee that offsets are consecutive with > in partition? > > Pls advise. > > --Senthil >