Skip to content
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

CLI-965 Remove broker information in ccloud kafka topic describe #960

Merged
merged 12 commits into from
Aug 11, 2021
Merged

Conversation

MuweiHe
Copy link
Contributor

@MuweiHe MuweiHe commented Aug 4, 2021

Checklist

  1. [CRUCIAL] Is the change for CP or CCloud functionalities that are already live in prod?

    • yes: ok
  2. Did you add/update any commands that accept secrets as args/flags?

    • no: ok

What

ccloud kafka topic describe is listing broker information. It is exposing concepts (partitions, leaders, replicas, ISRs) that Cloud should abstract away. These should be removed.

References

Test&Review

@MuweiHe MuweiHe requested a review from a team as a code owner August 4, 2021 23:04
@MuweiHe MuweiHe self-assigned this Aug 4, 2021
@brianstrauch
Copy link
Member

Can you write some tests for this? Looks like there are no integration tests 😢

@MuweiHe
Copy link
Contributor Author

MuweiHe commented Aug 4, 2021

Can you write some tests for this? Looks like there are no integration tests 😢

I see a few {args: "kafka topic describe",...} tests in test/kafka_test.go. But they'll need to be updated accordingly. On it.

internal/cmd/kafka/command_topic.go Outdated Show resolved Hide resolved
@DABH
Copy link
Contributor

DABH commented Aug 10, 2021

@MuweiHe This PR should target 2.0 not master

Copy link
Contributor

@DABH DABH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above comments

@MuweiHe MuweiHe changed the base branch from master to 2.0 August 10, 2021 20:36
@MuweiHe MuweiHe changed the base branch from 2.0 to master August 10, 2021 21:10
@MuweiHe MuweiHe changed the base branch from master to 2.0 August 10, 2021 21:17
@DABH
Copy link
Contributor

DABH commented Aug 11, 2021

Argh, this is kind of a nit, but it would be nice if we could separate this change from all the other changes that are in master but not in 2.0 yet. Is there any chance you could like rebase the changes you made on top of 2.0, and/or copy the master commits to 2.0 separately (preserving git history/authorship)? Happy to help if that proves to be a pain.

@MuweiHe MuweiHe changed the base branch from 2.0 to master August 11, 2021 17:36
@MuweiHe MuweiHe changed the base branch from master to 2.0 August 11, 2021 22:15
@MuweiHe MuweiHe merged commit cb0c272 into 2.0 Aug 11, 2021
@MuweiHe MuweiHe deleted the CLI-965 branch August 11, 2021 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants