Return-Path: X-Original-To: apmail-kafka-dev-archive@www.apache.org Delivered-To: apmail-kafka-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 27091D5F8 for ; Tue, 5 Mar 2013 01:06:12 +0000 (UTC) Received: (qmail 15505 invoked by uid 500); 5 Mar 2013 01:06:12 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 15429 invoked by uid 500); 5 Mar 2013 01:06:12 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 15415 invoked by uid 99); 5 Mar 2013 01:06:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 01:06:11 +0000 Date: Tue, 5 Mar 2013 01:06:11 +0000 (UTC) From: "Neha Narkhede (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KAFKA-778) Fix unclear exceptions when the producer detects 0 partitions for a topic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neha Narkhede updated KAFKA-778: -------------------------------- Labels: kafka-0.8 (was: ) > Fix unclear exceptions when the producer detects 0 partitions for a topic > ------------------------------------------------------------------------- > > Key: KAFKA-778 > URL: https://issues.apache.org/jira/browse/KAFKA-778 > Project: Kafka > Issue Type: Bug > Components: producer > Affects Versions: 0.8, 0.7.2 > Reporter: Neha Narkhede > Assignee: Jun Rao > Labels: kafka-0.8 > > ERROR [main][kafka.producer.async.DefaultEventHandler] Failed to collate > messages by topic, partition due to > kafka.common.NoBrokersForPartitionException: Partition key = null > at > kafka.producer.async.DefaultEventHandler.kafka$producer$async$DefaultEventHandler$$getPartitionListForTopic(DefaultEventHandler.scala:189) > at > kafka.producer.async.DefaultEventHandler$$anonfun$partitionAndCollate$1.apply(DefaultEventHandler.scala:148) > at > kafka.producer.async.DefaultEventHandler$$anonfun$partitionAndCollate$1.apply(DefaultEventHandler.scala:147) > at > scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:60) > at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47) > at > kafka.producer.async.DefaultEventHandler.partitionAndCollate(DefaultEventHandler.scala:147) > at > kafka.producer.async.DefaultEventHandler.dispatchSerializedData(DefaultEventHandler.scala:93) > at > kafka.producer.async.DefaultEventHandler.handle(DefaultEventHandler.scala:72) > at kafka.producer.Producer.send(Producer.scala:76) > at kafka.javaapi.producer.Producer.send(Producer.scala:41) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira