Return-Path: X-Original-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77E8D981A for ; Sun, 1 Jan 2012 03:38:01 +0000 (UTC) Received: (qmail 74717 invoked by uid 500); 1 Jan 2012 03:38:01 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 74620 invoked by uid 500); 1 Jan 2012 03:37:44 -0000 Mailing-List: contact kafka-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-dev@incubator.apache.org Received: (qmail 74611 invoked by uid 99); 1 Jan 2012 03:37:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2012 03:37:39 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sahmed1020@gmail.com designates 209.85.216.47 as permitted sender) Received: from [209.85.216.47] (HELO mail-qw0-f47.google.com) (209.85.216.47) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2012 03:37:32 +0000 Received: by qadb17 with SMTP id b17so9248086qad.6 for ; Sat, 31 Dec 2011 19:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=P4HR2EvMkwzqltm5FG4lhenHO+qjhaiBmjilwDfOiOs=; b=tmHyJHnsD6T70ax707SFg4vRDY0mh2FIufnb0FjI74FXRi9vPa3UfeuokqD5KreeDz VeX87wNETEQMAXlEvf3MKJsyMkmnknkHz6RYANKw3UPixL4K+Qj8MYJvAb4H4PLo9ukA rOdh352YevoiklqCIs7Nqn1f9YvNdYoc3J4U4= Received: by 10.224.214.199 with SMTP id hb7mr10402849qab.71.1325389032254; Sat, 31 Dec 2011 19:37:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.91.133 with HTTP; Sat, 31 Dec 2011 19:36:51 -0800 (PST) In-Reply-To: References: From: S Ahmed Date: Sat, 31 Dec 2011 22:36:51 -0500 Message-ID: Subject: Re: compiling and running using intellij To: kafka-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf300fb13574eb2204b56f2eb3 --20cf300fb13574eb2204b56f2eb3 Content-Type: text/plain; charset=ISO-8859-1 So I have the scala plugin installed. ./sbt update and ./sbt test runs fine, all test pass. 1. Why am I seeing this in my editor (screenshots): http://img210.imageshack.us/slideshow/webplayer.php?id=screenshot20111231at103.png Is this normal in IntelliJ? I guess all compilation has to be done via sbt and the editor is just for editing and never for building? 2. Where exactly is that singleton I should be running via intellij? On Thu, Dec 29, 2011 at 10:57 AM, Jun Rao wrote: > I am using 9.04 and 10.5. The scala plugin seems to mostly work for both. > > Thanks, > > Jun > > On Sun, Dec 25, 2011 at 12:50 PM, S Ahmed wrote: > > > I have IntelliJ 9.0, will the scala plugin work? > > > > On Sat, Dec 24, 2011 at 5:59 PM, Jun Rao wrote: > > > > > There is a singleton called Kafka and it takes a server.properties file > > in > > > the input. > > > > > > Jun > > > > > > On Sat, Dec 24, 2011 at 11:34 AM, S Ahmed > wrote: > > > > > > > Thanks :) > > > > > > > > So can you outline how to start kafka in intelliJ for me? (I really > > > > appreciate your time) > > > > > > > > > > > > > > > > On Sat, Dec 24, 2011 at 1:22 AM, Jun Rao wrote: > > > > > > > > > Here is my reply to your previous email: > > > > > > > > > > For debugging, you can either start Kafka in intellij or attach > > > intellij > > > > to > > > > > a remote jvm running kafka. > > > > > > > > > > Jun > > > > > > > > > > On Fri, Dec 23, 2011 at 1:18 PM, S Ahmed > > wrote: > > > > > > > > > > > So I ran ./sbt idea and was able to open the project in IDEA. > > > > > > > > > > > > Making/building the project in IDEA doesn't work, I guess it > > > shouldn't > > > > > > since sbt is used. > > > > > > > > > > > > ./sbt update and ./sbt builds everything fine, ./sbt package-all > > also > > > > > > worked fine. > > > > > > > > > > > > How do I go about running kafka in debug mode? > > > > > > Do I have to run zookeeper first? > > > > > > > > > > > > Which project should I run? > > > > > > > > > > > > Since a native Built | Make project doesn't work, not sure how I > > can > > > > use > > > > > > IDEA in debug mode. > > > > > > > > > > > > if someone can outline the steps (without assuming too much!) I > > would > > > > > > greatly appreciate it! > > > > > > > > > > > > > > > > > > > > > --20cf300fb13574eb2204b56f2eb3--