Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix table restoration for compacted changelogs #373

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion faust/tables/recovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ async def _build_offsets(
earliest = await consumer.earliest_offsets(*tps)
# FIXME To be consistent with the offset -1 logic
earliest = {
tp: offset - 1 if offset is not None else None
tp: offset if offset is not None else None
for tp, offset in earliest.items()
}
wbarnha marked this conversation as resolved.
Show resolved Hide resolved

Expand Down