> Jun Rao via dev <[email protected]> 於 2026年4月17日 凌晨4:57 寫道:
> 
> For Scenario 2: Log Truncation Data Loss, the to_start_time semantic seems
> weird to me. A common scenario is that a consumer application has been
> stopped for longer than the data retention time and the committed offsets
> are out of range. A consumer in this state doesn't seem much different from
> a consumer being started for the first time. It seems inconsistent that we
> use the latest offset for consumption in one case and the earliest in
> another

The core semantic of to_start_time is to read all records since the creation of 
the group. Hence, the “inconsistent” behavior you mentioned is actually just 
the strictly consistent application of the group's creation time.

Reply via email to