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-18374 Remove unused EncryptingPasswordEncoder #18355

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

mingdaoy
Copy link
Contributor

https://issues.apache.org/jira/browse/KAFKA-18374

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 labels Dec 30, 2024
@chia7712
Copy link
Member

@mingdaoy could you please remove CipherParamsEncoder, GcmParamsEncoder, IvParamsEncoder, and the unused static variables in PasswordEncoder?

@mingdaoy
Copy link
Contributor Author

PasswordEncoder is used in core/src/main/scala/kafka/server/DynamicBrokerConfig.scala. Should we keep this? What are your thoughts?

https://github.com/mingdaoy/kafka/blob/3161115adae4de9f2b2ec6b87462ea10a8993456/core/src/main/scala/kafka/server/DynamicBrokerConfig.scala#L414

@github-actions github-actions bot removed the triage PRs from the community label Jan 1, 2025
Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@mingdaoy could you please remove base64Encode and base64Decode too?

Copy link
Member

@FrankYang0529 FrankYang0529 left a comment

Choose a reason for hiding this comment

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

Leave a minor comment.

@@ -22,16 +22,6 @@
import java.util.Base64;
Copy link
Member

Choose a reason for hiding this comment

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

This line can be removed as well.

…mParamsEncoder, IvParamsEncoder, and the unused static variables in PasswordEncoder
Copy link
Member

@FrankYang0529 FrankYang0529 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants