Dong, Does it allow running, say, tests in debug? I tried that and never managed to get any test to run in intellij. Say, to set some breakpoints and debug...
Kind regards, Radek Gruchalski ra...@gruchalski.com (mailto:ra...@gruchalski.com) (mailto:ra...@gruchalski.com) de.linkedin.com/in/radgruchalski/ (http://de.linkedin.com/in/radgruchalski/) Confidentiality: This communication is intended for the above-named person and may be confidential and/or legally privileged. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately. On Thursday, 5 November 2015 at 23:27, Dong Lin wrote: > Hi, > > If you want to browse kafka code in intellij, you can setup intellIj > project by doing ./gradlew idea. > > Hope it helps, > Dong > > On Thu, Nov 5, 2015 at 3:16 AM, Prabhjot Bharaj <prabhbha...@gmail.com > (mailto:prabhbha...@gmail.com)> > wrote: > > > Hi, > > > > I'm using kafka 0.8.2.1 version with IntelliJ. > > Sometimes, I change the code and build it using this command: > > > > ./gradlew -PscalaVersion=2.11.7 releaseTarGz > > > > In some cases, I feel the need for debugging the code within IntelliJ. > > > > e.g. I, currently, want to debug the ConsumerOffsetCheker to see how it > > communicates with zookeeper. > > > > How can I do that with IntelliJ ?? > > > > Currently, if I try and debug the file ConsumerOffsetChecker.scala in > > IntelliJ, I get this message:- > > > > Error:scalac: Output path > > /Users/pbharaj/Desktop/Dev/OpenSource4/Kafka-0.8.2.1/build is shared > > between: Module 'Kafka-0.8.2.1' production, Module 'Kafka-0.8.2.1' tests > > Please configure separate output paths to proceed with the compilation. > > TIP: you can use Project Artifacts to combine compiled classes if needed. > > > > > > Regards, > > Prabhjot > > > > >