Article directory
learn
for example:
kafka_2.11-1.1.1.jar package
Among them, 2.11 represents the Scala version, because the Kafka server-side code is completely written in Scala language. "-" The version information of kafka represented by 1.1.1 behind. Following a basic principle, the Kafka client version and server version should be consistent, otherwise some problems may be encountered.
(It has nothing to do with the following, just for understanding)
version correspondence
You can confirm the corresponding zookeeper version according to the source package or installation package
Kafka installation package
For example, the kafka installation package:
kafka_2.11-1.1.1.tgz
After decompressing under Linux, enter the libs directory to view:
cd libs/
The zookeeper version 3.4.10 is supported.
In the same way, you can also double-click the installation package directly under windows:
Kafka source package
kafka-1.1.1-src.tgz
(Not decompressed), double-click directly to view:
the path is:
kafka-1.1.1-src/grade/dependencies.gradle
Rely on zookeeper version 3.4.10~