Home > Back-end >  The auto kafak. Offset. Reset questions
The auto kafak. Offset. Reset questions

Time:10-03

If the client consumption did not submit news, configuration of auto. Offset.. reset=earliest, if the server restart, so whether the group will consume again server all messages in it?
If auto. Offset. Reset=latest will also be spending again?
Whether Internet to illustrate, is refers to restart the server?
Earliest
When has submitted the offset of the partition, starting from the submitted to the offset of consumption; No submitted to offset, to start from scratch consumption
Latest
When has submitted the offset of the partition, starting from the submitted to the offset of consumption; No submit offset, new consumption under the partition of data
None
Topic areas have submitted offset, since after offset consumption; As long as there is a partition does not exist submitted offset, an exception is

CodePudding user response:

Don't see how a mile,,,,

CodePudding user response:

Suggest first know HW, LEO, nature will understand set the earliest, since submit the offset of consumption or consumption from the very beginning

CodePudding user response:

Earliest as long as you are in the consumer after confirm to submit the offset wouldn't start from scratch, from the last time you submitted successfully offset continued to consumption
Restart the service will not affect the groupId consumers to submit below offset

CodePudding user response:

Auto. Offset. Reset this is in what file configuration, hasn't been found
  • Related