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

...

Workaround:
Eclipse > Preferences > Scala > Compiler > Build manager
uncheck withVersionClasspathVariablehttps://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.