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

I'm using kafka 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- is shared
between: Module 'Kafka-' production, Module 'Kafka-' tests
Please configure separate output paths to proceed with the compilation.
TIP: you can use Project Artifacts to combine compiled classes if needed.


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