In kafka latest deps test make sure that kafka version matches kafka client libs
This seems to help with compatibility
MODIFY
dd-java-agent/instrumentation/kafka-clients-0.11/kafka-clients-0.11.gradle
dd-java-agent/instrumentation/kafka-clients-0.11/kafka-clients-0.11.gradle
@@ -33,6 +33,9 @@ dependencies {
testCompile group: 'org.springframework.kafka', name: 'spring-kafka-test', version: '1.3.3.RELEASE'
testCompile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.3'
+ // Include latest version of kafka itself along with latest version of client libs.
+ // This seems to help with jar compatibility hell.
+ latestDepTestCompile group: 'org.apache.kafka', name: 'kafka_2.11', version: '+'
latestDepTestCompile group: 'org.apache.kafka', name: 'kafka-clients', version: '+'
latestDepTestCompile group: 'org.springframework.kafka', name: 'spring-kafka', version: '+'
latestDepTestCompile group: 'org.springframework.kafka', name: 'spring-kafka-test', version: '+'

MODIFY
dd-java-agent/instrumentation/kafka-streams-0.11/kafka-streams-0.11.gradle
dd-java-agent/instrumentation/kafka-streams-0.11/kafka-streams-0.11.gradle
@@ -36,6 +36,9 @@ dependencies {
testCompile group: 'org.springframework.kafka', name: 'spring-kafka-test', version: '1.3.3.RELEASE'
testCompile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.3'
+ // Include latest version of kafka itself along with latest version of client libs.
+ // This seems to help with jar compatibility hell.
+ latestDepTestCompile group: 'org.apache.kafka', name: 'kafka_2.11', version: '+'
latestDepTestCompile group: 'org.apache.kafka', name: 'kafka-clients', version: '+'
latestDepTestCompile group: 'org.apache.kafka', name: 'kafka-streams', version: '+'
latestDepTestCompile group: 'org.springframework.kafka', name: 'spring-kafka', version: '+'

In kafka latest deps test make sure that kafka version matches kafka client libs

This seems to help with compatibility