Am using a kafka-client dependency in my project abc-bus-api. The version is 2.1.0. See below.
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.1.0</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
Now this above project is a dependency in another project abc-lib. Here i see a different kafka-client version than what i have specified in my abc-bus-api. See below.
maven tree in STS (for kafka):
Any guess what am doing wrong here.