kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Makarenko <estliberi...@gmail.com>
Subject Re: Debug kafka code in intellij
Date Thu, 05 Nov 2015 22:28:58 GMT
Wow, that's interesting info, thanks for the tip!

On Fri, Nov 6, 2015 at 1:27 AM Dong Lin <lindong28@gmail.com> 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 <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