WARN - The configuration 'zookeeper.connect' was supplied but isn't a known config.
WARN - The configuration 'input.topic' was supplied but isn't a known config.
WARN - Bootstrap broker ip:9092 disconnected
WARN - Bootstrap broker ip:9092 disconnected
WARN - Bootstrap broker ip:9092 disconnected
1. Check whether the zookeeper clusters and clusters of normal kafka
No problem found
2. Check scala Code kafka profiles wrong
No wrong
3. Check kafka version
It turned out to be the wrong version kafka
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.11${scala.version}</artifactId>
<version>0.10.1.0</version>
</dependency>
替换
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.11${scala.version}</artifactId>
<version>0.10.0.0</version>
</dependency>