kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nehanarkh...@apache.org
Subject kafka git commit: KAFKA-2140 follow up, checking in newly renamed file ConsumerRebalanceFailedException
Date Sun, 26 Apr 2015 19:13:07 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk ae797467e -> 4c010fc2d


KAFKA-2140 follow up, checking in newly renamed file ConsumerRebalanceFailedException


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

Branch: refs/heads/trunk
Commit: 4c010fc2d392a8367f1871745ec1bb19b99f558c
Parents: ae79746
Author: Ismael Juma <mlists@juma.me.uk>
Authored: Sun Apr 26 12:12:51 2015 -0700
Committer: Neha Narkhede <nehanarkhede@apache.org>
Committed: Sun Apr 26 12:13:02 2015 -0700

----------------------------------------------------------------------
 .../ConsumerRebalanceFailedException.scala      | 26 ++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/4c010fc2/core/src/main/scala/kafka/common/ConsumerRebalanceFailedException.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/common/ConsumerRebalanceFailedException.scala b/core/src/main/scala/kafka/common/ConsumerRebalanceFailedException.scala
new file mode 100644
index 0000000..2f4c2cf
--- /dev/null
+++ b/core/src/main/scala/kafka/common/ConsumerRebalanceFailedException.scala
@@ -0,0 +1,26 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package kafka.common
+
+/**
+ * Thrown when a request is made for broker but no brokers with that topic
+ * exist.
+ */
+class ConsumerRebalanceFailedException(message: String) extends RuntimeException(message)
{
+  def this() = this(null)
+}


Mime
View raw message