Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5266

Follow-up improvements for consumer offset reset tool (KIP-122)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • tools
    • None

    Description

      1. We should try to ensure that offsets are in range for the topic partition. We currently only verify this for the shift option.
      2. If you provide a CSV file, you shouldn't need to specify one of the --all-topics or --topic options.
      3. We currently support a "reset to current offsets" option if none of the supported reset options are provided. This seems kind of useless. Perhaps we should just enforce that one of the reset options is provided.
      4. The command fails with an NPE if we cannot find one of the offsets we are trying to reset. It would be better to raise an exception with a friendlier message.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jeqo Jorge Esteban Quilcate Otoya
            hachikuji Jason Gustafson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment