Roxana
Roxana

Reputation: 1581

How is the kafka offset value computed?

Is kafka offeset value unique per partition or per topic (considering same group id)?

Upvotes: 0

Views: 469

Answers (2)

Luciano Afranllie
Luciano Afranllie

Reputation: 4253

It is a signed long, unique per partition and is incremented for every messages added to the partition log.

Upvotes: 0

Shawn Guo
Shawn Guo

Reputation: 3228

It is unique per partition. start from zero and long data type.

Upvotes: 1

Related Questions