-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KGLOBAL-486: Remove "ccloud kafka topic create" --mirror-topic and --link flags, remove "ccloud kafka topic mirror" command, and rename "--link-name" to "link" #906
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, although I assume there are a few tests that need to be fixed due to these deletions.
Co-authored-by: Brian Strauch <bstrauch24@gmail.com>
@brianbushree Yes, I've regenerated the golden files. Also, I've renamed all "--link-name" flag to "--link" according to @lukeknep 's suggestion. Let me know if we are good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to preserve backward compatibility with all CLI PRs. Changing flag names for link and mirror commands is ok since those are hidden (note that once we unhide them we don't be able to change these again without a 6 month deprecation process). Also the kafka topic mirror command is okay to remove since it has been hidden. However, we can't remove the the --mirror-topic and --link flags from topic create since those may be in use and we don't want to break existing scripts. We can remove those in CLI 2.0 release at the end of q3 since we will introduce breaking changes on the major release.
If you haven't already, add your breaking changes to the v2.0 scheduled changes wiki to make sure this is tracked. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved - discussed over slack that breaking change is OK since CL was only in preview
…link flags, remove "ccloud kafka topic mirror" command, and rename "--link-name" to "link" (#906)
…link flags, remove "ccloud kafka topic mirror" command, and rename "--link-name" to "link" (#906)
Checklist
[CRUCIAL] Is the change for CP or CCloud functionalities that are already live in prod?
Did you add/update any commands that accept secrets as args/flags?
secretCommandFlags
and/orsecretCommandArgs
in internal/pkg/analytics/analytics.goWhat
References
KGLOBAL-451 KGLOBAL-486
Test&Review