kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jjko...@apache.org
Subject kafka git commit: KAFKA-2246; UnknownTopicOrPartitionException should be an instance of InvalidMetadataException; reviewed by Ewen Cheslack-Postava and Joel Koshy
Date Fri, 05 Jun 2015 18:47:28 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 78ba492e3 -> ca6d01bc6


KAFKA-2246; UnknownTopicOrPartitionException should be an instance of InvalidMetadataException;
reviewed by Ewen Cheslack-Postava and Joel Koshy


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/ca6d01bc
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/ca6d01bc
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/ca6d01bc

Branch: refs/heads/trunk
Commit: ca6d01bc690c2182a611bb65ca46995edc9f356e
Parents: 78ba492
Author: Jiangjie Qin <becket.qin@gmail.com>
Authored: Fri Jun 5 11:20:25 2015 -0700
Committer: Joel Koshy <jjkoshy@gmail.com>
Committed: Fri Jun 5 11:20:25 2015 -0700

----------------------------------------------------------------------
 .../kafka/common/errors/UnknownTopicOrPartitionException.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/ca6d01bc/clients/src/main/java/org/apache/kafka/common/errors/UnknownTopicOrPartitionException.java
----------------------------------------------------------------------
diff --git a/clients/src/main/java/org/apache/kafka/common/errors/UnknownTopicOrPartitionException.java
b/clients/src/main/java/org/apache/kafka/common/errors/UnknownTopicOrPartitionException.java
index ec423bd..70fd55c 100644
--- a/clients/src/main/java/org/apache/kafka/common/errors/UnknownTopicOrPartitionException.java
+++ b/clients/src/main/java/org/apache/kafka/common/errors/UnknownTopicOrPartitionException.java
@@ -15,7 +15,7 @@ package org.apache.kafka.common.errors;
 /**
  * This topic/partition doesn't exist
  */
-public class UnknownTopicOrPartitionException extends RetriableException {
+public class UnknownTopicOrPartitionException extends InvalidMetadataException {
 
     private static final long serialVersionUID = 1L;
 


Mime
View raw message