Tuesday, 16 April 2019

Create a maven project | eclipse | kafka


In eclipse --> new --> project --> Maven --> Maven project

provide some default groupid and artifact name , ex:

<groupId>kafka.test.com</groupId>

<artifactId>kafka-test</artifactId>

<version>0.0.1-SNAPSHOT</version>

<packaging>jar</packaging>



finish --> edit po.xml --> add your dependencies, save, it should download all dependencies in to

packages --> maven dependencies

now you can use all the java classes in to your project

No comments:

Post a Comment