Skip to content

MINOR: Remove casts to KRaftMetadataCache #18579

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

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

ijuma
Copy link
Member

@ijuma ijuma commented Jan 16, 2025

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 the core Kafka Broker label Jan 16, 2025
@ijuma ijuma changed the title KAFKA-18373: Remove ZkMetadataCache Remove casts to KRaftMetadataCache Jan 16, 2025
@ijuma ijuma changed the title Remove casts to KRaftMetadataCache MINOR: Remove casts to KRaftMetadataCache Jan 16, 2025
@ijuma ijuma force-pushed the remove-kraft-metadata-cache-casts branch from 4bd584e to acd0980 Compare January 17, 2025 12:48
@github-actions github-actions bot added the small Small PRs label Jan 17, 2025
@ijuma ijuma force-pushed the remove-kraft-metadata-cache-casts branch from acd0980 to abc37bd Compare January 17, 2025 13:04
@ijuma ijuma marked this pull request as ready for review January 17, 2025 13:05
@ijuma ijuma requested a review from mumrah January 17, 2025 13:05
Copy link
Member

@mimaison mimaison left a comment

Choose a reason for hiding this comment

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

LGTM

@ijuma ijuma merged commit 3996e90 into apache:trunk Jan 17, 2025
9 of 13 checks passed
@chia7712
Copy link
Member

@ijuma
Copy link
Member Author

ijuma commented Jan 19, 2025

I looked for casts vs pattern matching. I agree we should also clean up the latter. For your second example, not sure why it didn't show up in the search I used.

@chia7712
Copy link
Member

I looked for casts vs pattern matching. I agree we should also clean up the latter. For your second example, not sure why it didn't show up in the search I used.

Thank you for your quick response. I was wondering if there was a specific reason for keeping them. @FrankYang0529 will cleanup it in https://issues.apache.org/jira/browse/KAFKA-18555

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
core Kafka Broker small Small PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants