Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

offset reset strategycurrent reset behaviorproposed reset behavior
nonethrow exceptionthrow exception
earliestreset to earliestreset to earliest
latestreset to latestreset to latest
earliest_on_startN/Areset to earliest
latest_on_startN/Areset to latest
safe_latestN/A

if group is started newly, reset to latest.

if some new partitions is expanded when group is consuming, reset to earliest for these new partitions.

nearestN/Ait only effect when trigger for out-of-range, for this scenario, its behavior is determined by the earliest, or latest, or safe_latest used together.

...

offset reset strategycurrent reset behaviorproposed reset behavior
nonethrow exceptionthrow exception
earliestreset to earliestreset to earliest
latestreset to latestreset to latest
earliest_on_startN/Athrow exception
latest_on_startN/Athrow exception
safe_latestN/Areset to latest, consistent with latest.
nearestN/Ato the earliest if it was under the range, or to the latest if it was over the range. It has nothing to do with the earliest, or latest, or safe_latest used together.

...