Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 963 Bytes

File metadata and controls

28 lines (14 loc) · 963 Bytes

"# Apache-Kafka-Tutorials"

1. Import source code into Eclipse

Menu File –> Import –> Maven –> Existing Maven Projects

Browse to your source code location

Click Finish button to finish the importing

2. Run the application

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)

3. Related Posts