import compile group plugins { id 'java' } group 'com.tacademy' version '1.0' repositories { mavenCentral() } dependencies { testCompile group: 'junit', name: 'junit', version: '4.12' compile group: 'org.apache.kafka', name: 'kafka-clients', version: '2.5.0' } compile group : creatable class which creates client consumer, producer instance is designated through dependencies, so firmly it needs t..