|
|
S Ahmed 2011-12-22, 14:56
I want to learn the kakfa code base, and fairly new to using intellij.
How do I go about importing the project so I can compile?
Is it possible to trace the execution path in debug mode so I can see the read/write paths etc?
Thanks!
Neha Narkhede 2011-12-22, 18:12
>> How do I go about importing the project so I can compile?
./sbt idea
This command generates all the Intellij project files so that you can open the kafka project in Intellij easily.
>> Is it possible to trace the execution path in debug mode so I can see the read/write paths etc?
I'm sure it is possible. You might want to google around to see exactly how it can be done. I personally never use that approach to debugging.
Thanks, Neha
On Thu, Dec 22, 2011 at 6:56 AM, S Ahmed <[EMAIL PROTECTED]> wrote: > I want to learn the kakfa code base, and fairly new to using intellij. > > How do I go about importing the project so I can compile? > > Is it possible to trace the execution path in debug mode so I can see the > read/write paths etc? > > Thanks!
S Ahmed 2011-12-22, 18:25
easy enough thanks!
how do you debug then? log to console/file?
On Thu, Dec 22, 2011 at 1:12 PM, Neha Narkhede <[EMAIL PROTECTED]>wrote:
> >> How do I go about importing the project so I can compile? > > ./sbt idea > > This command generates all the Intellij project files so that you can > open the kafka project in Intellij easily. > > >> Is it possible to trace the execution path in debug mode so I can see > the > read/write paths etc? > > I'm sure it is possible. You might want to google around to see > exactly how it can be done. I personally never use that approach to > debugging. > > Thanks, > Neha > > On Thu, Dec 22, 2011 at 6:56 AM, S Ahmed <[EMAIL PROTECTED]> wrote: > > I want to learn the kakfa code base, and fairly new to using intellij. > > > > How do I go about importing the project so I can compile? > > > > Is it possible to trace the execution path in debug mode so I can see the > > read/write paths etc? > > > > Thanks! >
Jun Rao 2011-12-22, 22:34
For debugging, you can either start Kafka in intellij or attach intellij to a remote jvm running kafka. To understand kafka, the best place to add break point is KafkaRequestHandler.
Thanks,
Jun
On Thu, Dec 22, 2011 at 10:25 AM, S Ahmed <[EMAIL PROTECTED]> wrote:
> easy enough thanks! > > how do you debug then? log to console/file? > > On Thu, Dec 22, 2011 at 1:12 PM, Neha Narkhede <[EMAIL PROTECTED] > >wrote: > > > >> How do I go about importing the project so I can compile? > > > > ./sbt idea > > > > This command generates all the Intellij project files so that you can > > open the kafka project in Intellij easily. > > > > >> Is it possible to trace the execution path in debug mode so I can see > > the > > read/write paths etc? > > > > I'm sure it is possible. You might want to google around to see > > exactly how it can be done. I personally never use that approach to > > debugging. > > > > Thanks, > > Neha > > > > On Thu, Dec 22, 2011 at 6:56 AM, S Ahmed <[EMAIL PROTECTED]> wrote: > > > I want to learn the kakfa code base, and fairly new to using intellij. > > > > > > How do I go about importing the project so I can compile? > > > > > > Is it possible to trace the execution path in debug mode so I can see > the > > > read/write paths etc? > > > > > > Thanks! > > >
|
|