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

Encryption failure test case fix #708

Merged
merged 4 commits into from
Jan 17, 2022

Conversation

GPrabhudas
Copy link
Contributor

address issue: #707

@wolfstudy wolfstudy requested review from merlimat, cckellogg and wolfstudy and removed request for merlimat January 13, 2022 09:54
@wolfstudy wolfstudy added this to the v0.8.0 milestone Jan 13, 2022
Copy link
Member

@wolfstudy wolfstudy left a comment

Choose a reason for hiding this comment

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

@GPrabhudas Nice work, just a little comment, please check.

encryption := options.Encryption
// add default message crypto if not provided
if encryption != nil && len(encryption.Keys) > 0 {
if encryption.KeyReader == nil {
Copy link
Member

Choose a reason for hiding this comment

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

It seems that there is no similar check in newConsumer and newReader, do they not need it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Similar check is not needed on consumer/reader side.

Copy link
Member

@wolfstudy wolfstudy left a comment

Choose a reason for hiding this comment

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

LGTM +1

@wolfstudy wolfstudy merged commit 468bfd6 into apache:master Jan 17, 2022
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