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 F3D80E63F for ; Tue, 22 Jan 2013 19:24:17 +0000 (UTC) Received: (qmail 2721 invoked by uid 500); 22 Jan 2013 19:24:17 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 2690 invoked by uid 500); 22 Jan 2013 19:24:17 -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 2679 invoked by uid 99); 22 Jan 2013 19:24:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2013 19:24:17 +0000 Date: Tue, 22 Jan 2013 19:24:17 +0000 (UTC) From: "Neha Narkhede (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KAFKA-723) Scala's default case class toString() is very inefficient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Neha Narkhede created KAFKA-723: ----------------------------------- Summary: Scala's default case class toString() is very inefficient Key: KAFKA-723 URL: https://issues.apache.org/jira/browse/KAFKA-723 Project: Kafka Issue Type: Bug Components: core Affects Versions: 0.8 Reporter: Neha Narkhede Priority: Critical Request logging is in the critical path of processing requests and we use Scala's default toString() API to log the requests. We should override the toString() in these case classes and log only what is useful. -- 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