MINOR: Fix deprecation version for NotLeaderForPartitionException (#9056)

Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
Rajini Sivaram 2020-07-22 20:33:55 +01:00 committed by GitHub
parent 67f5b5de77
commit 6fda5e2b5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {