Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

building consumers with Kafka 0.8.1 but POM (Maven build tool) not working

$
0
0
I am creating some consumers and producers to test against some Kafka
queues. I am getting this error when I try to build or test the code using
Maven:
I am using this POM
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.xxxXXXxx</groupId>
<artifactId>Kafka_test</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Kafka_test</name>
<url>http://maven.apache.org</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.8.2</artifactId>
<version>0.8.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

David Novogrodsky
david.novogrodsky [ at ] gmail.com
http://www.linkedin.com/in/davidnovogrodsky

Viewing all articles
Browse latest Browse all 5648

Trending Articles