I'm seeing - java.lang.NoClassDefFoundError: org/apache/kafka/test/TestCondition
in my integration tests. I think this is something related to way the repository import the kafka
related packages. I'm adding pom dependencies with scope
and classifiers
used.
Could you please help fixing this?
<kafka-clients.version>0.10.2.1</kafka-clients.version>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-streams</artifactId>
<version>${kafka-clients.version}</version>
<classifier>test</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-streams</artifactId>
<version>${kafka-clients.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>${kafka-clients.version}</version>
</dependency>