kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dong Lin <lindon...@gmail.com>
Subject Re: Debug kafka code in intellij
Date Thu, 05 Nov 2015 22:27:14 GMT
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 <prabhbharaj@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
>

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