Skip to content

[FF-7973] CLI should not require user-login to produce/consume using an API key#1390

Merged
Kevin Wu (kevin-wu24) merged 1 commit intomainfrom
FF-7973
Aug 11, 2022
Merged

[FF-7973] CLI should not require user-login to produce/consume using an API key#1390
Kevin Wu (kevin-wu24) merged 1 commit intomainfrom
FF-7973

Conversation

@kevin-wu24
Copy link
Member

@kevin-wu24 Kevin Wu (kevin-wu24) commented Aug 8, 2022

Checklist

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

What

Fixed bug preventing producing/consuming from cluster when using an API key/secret by adding an additional check for an anonymous cluster being used in a context, as the check below it only sees if the config file has been updated less than a week ago.

References

https://confluentinc.atlassian.net/browse/FF-7973

Test & Review

@kevin-wu24 Kevin Wu (kevin-wu24) requested a review from a team as a code owner August 8, 2022 19:11
Copy link
Contributor

@DABH David Hyde (DABH) left a comment

Choose a reason for hiding this comment

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

A comment in here about why this check is here (and maybe a comment about the subsequent if block too?) would be useful. If other people have to read this code in the future, I could see them being confused :)

Thank you!

@DABH
Copy link
Contributor

(Oh, and see why Mac CI fails??)

@kevin-wu24 Kevin Wu (kevin-wu24) merged commit 22227d7 into main Aug 11, 2022
@kevin-wu24 Kevin Wu (kevin-wu24) deleted the FF-7973 branch August 11, 2022 05:21
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.

2 participants