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 <dominiksafa...@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

Reply via email to