Versions Compared

Key

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

Table of Contents

This page is meant as a template for writing a KIP. To create a KIP choose Tools->Copy on this page and modify with your content and replace the heading with the next KIP number and a description of your issue. Replace anything in italics with your own description.

Status

Current stateUnder DiscussionDiscussion vote

Discussion thread: https://lists.apache.org/thread.html/rdc2c6426e957f68c311fde0752c6611666d3e00e5b7b8dcd69386906@%3Cdev.kafka.apache.org%3Ehere 

JIRA:

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-9042
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

Motivation

...

  • user has to specify

...

  • input topic name in the stream reset

...

  • tool in order to purge its offsets
  • Adding a new option which could automatically detect all external topics and reset their corresponding offsets

Public Interfaces

  • A new resetAllExternalTopicsOption will be added for user to cleanup all externally committed offsets
  • `--all-user-topics` flag add

So we want to reset all related topics with one option.

Public Interfaces

StreamsResetter.class

...


Code Block
languagejava
titleadd reset-all-external-topics option
public class StreamsResetter {
	 /*
    'all-user-topics' add flag
     */
    private static OptionSpecBuilder resetAllExternalTopicsOptionallUserTopicsOption;
}

Proposed Changes

...

  • --

...

  • all-

...

  • user-

...

  • topics Reset tool to delete offsets for all

...

     Added '--reset-all-external-topics' option
  • topics related to available groups

Compatibility, Deprecation, and Migration Plan

...