THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Eclipse Setup
- Checkout kafka source
- svn co git clone http://svngit-wip-us.apache.org/repos/asf/incubator/kafka/trunk.git kafka
- Update the libraries:
- ./sbt update
- Install the eclipse/scala plugin as described here.
- Create a new scala project File->New->Scala Project
- Set the location to the directory to which you checked out the code and choose a name for the project.
- Select the source directories you want, at least:
- core/src/main/scala
- core/src/test/scala/unit
- Select the source directories you want, at least:
- Add all the libraries in the Libraries tab: core/lib and core/lib_managed
- I had to also add the 2.9.1 scala library by choosing Add External Jar and choosing that library
...
Intellij Setup
- Checkout kafka source
- svn co git clone http://svngit-wip-us.apache.org/repos/asf/incubator/kafka/trunk.git kafka
- Update the libraries:
- ./sbt update
- Create IDEA project files:
- ./sbt
- idea
- Install the IntelliJ IDEA Scala Plugin Preferences -> Plugins -> Browse Repositories -> Search for Scala
- Open Itellij, Open new project, point to your kafka source location.