ஒரு offset என்பது partition இற்குள் ஒவ்வொரு event க்கும் ஒரு தனிப்பட்ட, sequential ID - அதன் நிலையை குறிக்கிறது. Consumers offsets ஐ track செய்து commit செய்கிறார்கள் அவர்கள் எதைக் consume செய்துவிட்டார்கள் என்பதை அறிய, resuming, replay மற்றும் reliable processing ஐ enable செய்கிறது.
Offsets என்றால் என்ன
OFFSET → the position/ID of an event within a PARTITION:
→ each partition is an ordered log; events get incrementing offsets (0, 1, 2, ...)
→ an offset uniquely identifies an event's position in its partition
→ events are RETAINED → the log keeps events (offsets remain valid for the retention period)
