Versions Compared

Key

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

...


You should see 'kafka' entry appear, with the branch version you selected.
Expand it to find 'Remotes'.
Right click, 'new remote'.
Remote name: apache-kafka
Check, 'configure fetch'

Configure Fetch window:
URI: click 'change'

Source Git Repository window:
URI: https://github.com/apache/kafka.git
Host: github.com
Repository Path: /apache/kafka.git

Enter your github user name and password.
Check 'store in secure store'.

Click Next.

Click Finish.

Click 'Save and Finish'.


4. Let the projects show up :up  :

Due to this bug,

https://issues.apache.org/jira/browse/KAFKA-1874

Edit ~/MySources/kafka/gradle.properties

Change to scalaVersion=2.11 from scalaVersion=2.10.4


Window > Perspective > Open Perspective > Java > Open.
Kafka project missing.

File > Import > Gradle > Gradle Project

Click Next

Browse - to the local directory of clone, ~/MySources/kafka
Click - Build Model
When done you should see this structure:
kafka
--clients
--contrib
----hadoop-consumer
----hadoop-producer
--core
--examples

Check 'kafka'. It selects all.

Click 'Finish'.

Time for break.

https://issues.apache.org/jira/browse/KAFKA-1873

Error:
Description    Resource    Path    Location    Type
scalatest_2.10-1.9.1.jar of core build path is cross-compiled with an incompatible version of Scala (2.10.0). In case this report is mistaken, this check can be disabled in the compiler preference page.    core        Unknown    Scala Version Problem

Workaround:
Eclipse - > Preferences - > Scala - > Compiler - > Build manager
uncheck withVersionClasspathVariable

https://issues.apache.org/jira/browse/KAFKA-1874
Missing:
import util.parsing.json.JSON
This results in compilation erros in 'core' and its dependent projects. 


5. Happy Contributing.