Versions Compared

Key

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

...

  1. Checkout kafka source
    1. git clone http://git-wip-us.apache.org/repos/asf/kafka.git kafka
  2. Update the libraries:
    1. ./sbt update
  3. Install the eclipse/scala 2.9.x plugin as described here. Make sure to get the right bundle / update site according with your Eclise Eclipse version.
  4. Create a new scala project File->New->Scala Project
  5. Set the location to the directory to which you checked out the code and choose a name for the project.
    1. Select the source directories you want, at least:
      1. core/src/main/scala
      2. core/src/test/scala/unit
  6. Add all the libraries in the Libraries tab: core/lib and core/lib_managed
    1. I had to also add the 2.9.1 scala library by choosing Add External Jar and choosing that library

...

  1. Checkout kafka source
    1. git clone http://git-wip-us.apache.org/repos/asf/kafka.git kafka
  2. Update the libraries:
    1. ./sbt update
  3. Create IDEA project files:
    1. ./sbt
    2. idea
  4. Install the IntelliJ IDEA Scala Plugin Preferences -> Plugins -> Browse Repositories -> Search for Scala|\
  5. Open Itellij, Open new project, point to your kafka source location.