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

KAFKA-10556: NPE if sasl.mechanism is unrecognized #9356

Merged
merged 4 commits into from
Oct 1, 2020

Conversation

rondagostino
Copy link
Contributor

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

Copy link
Contributor

@rajinisivaram rajinisivaram left a comment

Choose a reason for hiding this comment

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

@rondagostino Thanks for the PR, looks good. Left one comment.

Copy link
Contributor

@rajinisivaram rajinisivaram left a comment

Choose a reason for hiding this comment

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

@rondagostino Thanks for the updates, LGTM. Will merge when builds complete.

@rajinisivaram
Copy link
Contributor

Test failures look like flaky tests, there are not related to the PR. Merging to trunk.

@rajinisivaram rajinisivaram merged commit ad17ea1 into apache:trunk Oct 1, 2020
@chia7712
Copy link
Member

chia7712 commented Oct 4, 2020

@rondagostino It seems MetricsTest.testMetrics start to fail after this PR is merged. Could you take a look?

@rondagostino
Copy link
Contributor Author

Yeah, we no longer contact the server if the client doesn't recognize the SASL mechanism. The PR at #9372 fixes this test, which was using an unknown SASL mechanism (SCRAM-SHA-256) according to the JAAS config (PLAIN). Now it will use PLAIN and bad credentials.

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.

3 participants