How to find the kafka version in linux? whether there is a way to find the installed kafka version other than mentioning the version while downloading it?
标签:
apache-kafka
相关问题
- Delete Messages from a Topic in Apache Kafka
- Serializing a serialized Thrift struct to Kafka in
- Kafka broker shutdown while cleaning up log files
- Getting : Error importing Spark Modules : No modul
- How to transform all timestamp fields when using K
相关文章
- Kafka doesn't delete old messages in topics
- Kafka + Spark Streaming: constant delay of 1 secon
- Spring Kafka Template implementaion example for se
- How to fetch recent messages from Kafka topic
- Determine the Kafka-Client compatibility with kafk
- Kafka to Google Cloud Platform Dataflow ingestion
- Kafka Producer Metrics
- Spark Structured Streaming + Kafka Integration: Mi
There is nothing like
kafka --version
at this point. So you should either check the version from yourkafka/libs/
folder or you can runfrom your kafka folder (and it will do the same for you). It will return you something like
kafka_2.9.2-0.8.1.1.jar.asc
where0.8.1.1
is your kafka version.Simple way on macOS e.g. installed via homebrew
There are several methods to find kafka version
it will displays all running kafka clients in the console... Ex:- /usr/hdp/current/kafka-broker/bin/../libs/kafka-clients-0.10.0.2.5.3.0-37.jar we are using 0.10.0.2.5.3.0-37 version of kafka
Ex:- kafka_2.10-0.10.0.2.5.3.0-37.jar kafka-clients-0.10.0.2.5.3.0-37.jar
same result as method 1 we can find the version of kafka using in kafka libs.
When you install Kafka in Centos7 with confluent :
You can see the version of Kafka with :
You can read : confluent-kafka-2.11 >= 0.10.2.1
You can also type
This will give you an output like this
You can grep the logs to see the version. Let's say kafka is installed under
/usr/local/kafka
, then:will reveal the version