Browse Source

MINOR: Fix deprecation version for NotLeaderForPartitionException (#9056)

Reviewers: Ismael Juma <ismael@juma.me.uk>
pull/9016/head
Rajini Sivaram 4 years ago committed by GitHub
parent
commit
6fda5e2b5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      clients/src/main/java/org/apache/kafka/common/errors/NotLeaderForPartitionException.java

2
clients/src/main/java/org/apache/kafka/common/errors/NotLeaderForPartitionException.java

@ -18,7 +18,7 @@ package org.apache.kafka.common.errors; @@ -18,7 +18,7 @@ package org.apache.kafka.common.errors;
/**
* This server is not the leader for the given partition.
* @deprecated since 2.7. Use {@link NotLeaderOrFollowerException}.
* @deprecated since 2.6. Use {@link NotLeaderOrFollowerException}.
*/
@Deprecated
public class NotLeaderForPartitionException extends InvalidMetadataException {

Loading…
Cancel
Save