Skip to content

Commit

Permalink
rpk topic consume: expand the offset flag
Browse files Browse the repository at this point in the history
We now:

- can consume through the end and quit
- can consume based on time
- have many options for representing time ranges and durations

Previously, consuming to an end offset left the client running in the
paranoid case that a new partition could be discovered and consumed to
that end offset. Now, we take a snapshot of the end offsets when rpk
starts, consume to those, and quit.

Closes #4073.
  • Loading branch information
twmb committed Mar 24, 2022
1 parent 8b79098 commit bc017a6
Show file tree
Hide file tree
Showing 2 changed files with 745 additions and 91 deletions.
Loading

0 comments on commit bc017a6

Please sign in to comment.