Skip to content

MINOR: Remove unused CredentialProvider#updateCredentials#18622

Merged
chia7712 merged 1 commit intoapache:trunkfrom
frankvicky:cleanup-credential-provider
Jan 19, 2025
Merged

MINOR: Remove unused CredentialProvider#updateCredentials#18622
chia7712 merged 1 commit intoapache:trunkfrom
frankvicky:cleanup-credential-provider

Conversation

@frankvicky
Copy link
Copy Markdown
Contributor

After #18573, the only reference of CredentialProvider#updateCredentials, UserConfigHandler, has been removed.
We should remove this method also.

Committer Checklist (excluded from commit message)

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

@github-actions github-actions Bot added triage PRs from the community core Kafka Broker small Small PRs labels Jan 19, 2025
import org.apache.kafka.common.security.authenticator.CredentialCache;
import org.apache.kafka.common.security.scram.ScramCredential;
import org.apache.kafka.common.security.scram.internals.ScramCredentialUtils;
import org.apache.kafka.common.security.scram.internals.ScramMechanism;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Removing the import also fix the import conflict caused by org.apache.kafka.clients.admin.ScramMechanism. Hence, could you please import org.apache.kafka.clients.admin.ScramMechanism and then streamline line#36 and line#45?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure!
I have just fixed it.

@frankvicky frankvicky force-pushed the cleanup-credential-provider branch from 543a709 to 2ec8360 Compare January 19, 2025 11:29
@chia7712 chia7712 merged commit 3871ec4 into apache:trunk Jan 19, 2025
chia7712 pushed a commit that referenced this pull request Jan 19, 2025
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
@github-actions github-actions Bot removed the triage PRs from the community label Jan 20, 2025
LoganZhuZzz pushed a commit to LoganZhuZzz/kafka that referenced this pull request Jan 20, 2025
pranavt84 pushed a commit to pranavt84/kafka that referenced this pull request Jan 27, 2025
airlock-confluentinc Bot pushed a commit to confluentinc/kafka that referenced this pull request Jan 27, 2025
manoj-mathivanan pushed a commit to manoj-mathivanan/kafka that referenced this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved core Kafka Broker small Small PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants