Re: How can I step through the Kafka code using a debugger

2014-05-14 Thread Sheng Wang
Tim, Thanks for the reply! I have followed the IDE setup instructions and tried using IntelliJ to build Kafka. I used java 1.7.0_55-b13 on Mac OS X Mavericks. The "gradlew jar" commands etc. worked fine. However, I cannot use IntelliJ to build the project. I am using IntelliJ 13.1 to build the p

Re: How can I step through the Kafka code using a debugger

2014-05-14 Thread Timothy Chen
Hi Sheng Wang, If you look at the Kafka website there is already a IDE setup page you can follow. Once your IDE is setup you can simply run Kafka via the Kafka main method and set breakpoints in the broker. Tim On Tue, May 13, 2014 at 11:44 PM, Sheng Wang wrote: > Hi, > > I want to learn more

How can I step through the Kafka code using a debugger

2014-05-13 Thread Sheng Wang
Hi, I want to learn more about the Kafka code base. One of the easiest ways that I can think of is to walk through the code with a debugger. Could anyone tell how I can do that? Can I do it using any IDE? Thanks! -Sheng