Skip to content

KAFKA-12281: Deprecate BrokerNotFoundException #20192

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

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

Conversation

karuturi
Copy link
Member

@karuturi karuturi commented Jul 18, 2025

Implements KIP-1195.

BrokerNotFoundException exception is unused since 2.8 Marking it
deprecated so that it can be removed in next major release.

Reviewers: Matthias J. Sax [email protected]

This exception is unused since 2.8. Marking it deprecated so that it can
be removed in next major release
@github-actions github-actions bot added streams small Small PRs labels Jul 18, 2025
@@ -23,6 +23,7 @@
* @see org.apache.kafka.streams.StreamsConfig
*/
@SuppressWarnings("unused")
@Deprecated(since = "4.2", forRemoval = true)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@Deprecated(since = "4.2", forRemoval = true)
@Deprecated

Copy link
Member

Choose a reason for hiding this comment

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

We usually don't add metadata to the tag, but use JavaDocs for this.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok, I followed some of the existing usages like RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapter
Should I remove it?

Copy link
Member

@mjsax mjsax left a comment

Choose a reason for hiding this comment

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

Need to wait until the KIP is approved before, this PR can get merged.

@mjsax mjsax changed the title KAFKA-12281 deprecate BrokerNotFoundException KAFKA-12281: Deprecate BrokerNotFoundException Jul 18, 2025
@mjsax mjsax added kip Requires or implements a KIP ci-approved labels Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved kip Requires or implements a KIP small Small PRs streams
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants