...
Users may want to specify which internal topics should be deleted instead of deleting all internal . At present, the streams reset tool deletes all topics that start with "<app<application.id>-" and there are no options to control it. This option will allow them to do so.
This option is useful when there are prefix conflicts between applications, e.g. E.g., if we have two versions of the same application named "app" and "app-v2". In this case, if we want to be able to delete reset "app", the 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" without deleting and delete the internal topics of for "app-v2", but both of their " without deleting the internal topics start with for "app-v2".
Public Interfaces
Add an option to the streams reset tool.
--internal-topics <String: list> Comma-separated list of internal topics to delete. |
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. If specifiedomitted, these the tool will be the only topics considered for deletion. default to the original behaviour, i.e. delete all topics that start with "<application.id>-".
Usage
Usage of the "internal-topic" options will involve:
...