Skip to content

Commit a205fe6

Browse files
karuturik-apol
authored andcommitted
KAFKA-12281: Deprecate BrokerNotFoundException (apache#20192)
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 <matthias@confluent.io>
1 parent 6e835ba commit a205fe6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

streams/src/main/java/org/apache/kafka/streams/errors/BrokerNotFoundException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
* could be found.
2222
*
2323
* @see org.apache.kafka.streams.StreamsConfig
24+
* @deprecated since 4.2 and should not be used any longer.
2425
*/
2526
@SuppressWarnings("unused")
27+
@Deprecated
2628
public class BrokerNotFoundException extends StreamsException {
2729

2830
private static final long serialVersionUID = 1L;

0 commit comments

Comments
 (0)