cd <kafka.project.dir>
Generate the eclipse projects with: ./gradlew eclipse
. This command will create eclipse projects for every project defined in Kafka.
You should see the projects you have imported. For running unit tests and Kafka broker refer to the previous section.
You will need regenerate the projects and refresh eclipse every time there is a change in the projects dependencies. In other words, you need to run |
Currently IntelliJ Scala Plugin doesn't support 2.8.0 Scala, so to use IntelliJ you need to temporary upgrade Kafka's Scala version by editing gradle.properties scalaVersion to 2.9.2. Also remove this file core/src/main/scala/kafka/utils/Annotations_2.9+.scala as it clashes with the Scala Plugin. |