Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The example shown here simply tries to use use the ECHO'ed command from kafka-run-class.sh file. Since, Please note that the path information is in Windows format.

Image Added


3. Configure the source lookup for Kafka debugger.


Image Added


4. Important - Classpath configuration. There are two things to remember here:

    a) "Add JARs" - mean JARs releative to the current project

    b) "Add external JARs" means JARs in filesystem.

    Option 4(b) above is correct selection for this step. For this guide, the JARs were references simply from 2.4 tag. However, this can be configure to debug trunk.

    Image Added


5. If ZK is running and setup correctly, it's all set. One final step is to place a breakpoint in Kafka.scala file (main). Then click "Debug"


Image Added


Happy debugging and further contribution.Image Removed