kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prabhjot Bharaj <prabhbha...@gmail.com>
Subject Debug kafka code in intellij
Date Thu, 05 Nov 2015 11:16:17 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message