You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Zakee <kz...@netzero.net> on 2016/11/14 19:50:52 UTC

Re: Kafka consumer offset uniqueness

Yes, offsets are unique per partition.

> I've observed that for example I had offset values equal to zero more times then there is the number of Kafka partitions. 
Can you elaborate a little more what you observed?

-Zakee

> On Nov 14, 2016, at 10:06 AM, Dominik Safaric <do...@gmail.com> wrote:
> 
> Hi all, 
> 
> I've been wondering- is the offset gotten with ConsumerRecord<>().offset() always unique for each partition? Asking because while I've been running a consumer group, I've observed that for example I had offset values equal to zero more times then there is the number of Kafka partitions. 
> 
> Thanks in advance, 
> 
> Dominik Šafarić

____________________________________________________________
Warning: Don't Diet Before You See This
gundrymd.com
http://thirdpartyoffers.netzero.net/TGL3231/582a159db7573159c2432st04duc