"# Apache-Kafka-Tutorials"
Menu File –> Import –> Maven –> Existing Maven Projects
Browse to your source code location
Click Finish button to finish the importing
Open the ProducerTest.java
Right click -> Run As -> Java Application or use the shortcut: Alt+Shift+x, j to start the main method
Open the ConsumerTest.java
Right click -> Run As -> Java Application or use the shortcut: Alt+Shift+x, j to start the main method
All the source code are described in: [Apache Kafka 0.9 Java Client API Example] (http://howtoprogram.xyz/2016/05/02/apache-kafka-0-9-java-client-api-example)