-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
base: trunk
Are you sure you want to change the base?
KAFKA-12281: Deprecate BrokerNotFoundException #20192
Conversation
This exception is unused since 2.8. Marking it deprecated so that it can be removed in next major release
streams/src/main/java/org/apache/kafka/streams/errors/BrokerNotFoundException.java
Show resolved
Hide resolved
@@ -23,6 +23,7 @@ | |||
* @see org.apache.kafka.streams.StreamsConfig | |||
*/ | |||
@SuppressWarnings("unused") | |||
@Deprecated(since = "4.2", forRemoval = true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Deprecated(since = "4.2", forRemoval = true) | |
@Deprecated |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this 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.
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]