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

This seems to help with compatibility
This commit is contained in:
Nikolay Martynov 2018-11-21 17:41:56 -05:00
parent e7f4385b0a
commit 7dae6df890
2 changed files with 6 additions and 0 deletions

View File

@ -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: '+'

View File

@ -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: '+'