Table of Contents |
---|
Status
Current state: "Under Discussion"Accepted
Vote thread: here
Discussion thread: here
...
Users may want to specify which internal topics should be deleted. At present, the streams reset tool deletes all topics that start with "<application.id>-" and there are no options to control it.
This The `--internal-topics` option is especially useful when there are prefix conflicts between applications, e.g. "app" and "app-v2". In this case, if we want to reset "app", the reset tool's default behaviour will delete both the internal topics of "app" and "app-v2" (since both are prefixed by "app-"). With the `--internal-topics` option, we can provide internal topic names for "app" and delete the internal topics for "app" without deleting the internal topics for "app-v2".
...
Add an option to the streams reset tool.
--internal-topics <String: list> Comma Comma-separated list of internal topics to |
Proposed Changes
Add an internal-topics option to streams reset tool.
The `--internal-topics` option will take a comma-separated list of internal topics to be deleted. These topics must be a subset of those flagged as internal during a `--dry-run` without the `internal-topics` option. If omitted, the tool will default to the original behaviour, i.e. delete all topics that start with "<application.id>-".
...