Status

Current stateUnder Discussion vote

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

JIRA: KAFKA-9042 - Getting issue details... STATUS

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


add reset-all-external-topics option
public class StreamsResetter {
	 /*
    'all-user-topics' add flag
     */
    private static OptionSpecBuilder allUserTopicsOption;
}

Proposed Changes

  • --all-user-topics Reset tool to delete offsets for all topics related to available groups

Compatibility, Deprecation, and Migration Plan

  • Because it is an option addition Compatibility, Deprecation, and Migration Plan are not a problem

Rejected Alternatives

Not applicable.

  • No labels