How to check Kafka version

+1 vote

Hi,

I am trying to find kafka version. I tried the below command

$ kafka --version

But it shows error. Is there any command to find the same?
Thank You

Feb 10, 2020 in Apache Kafka by akhtar
• 38,170 points
17,442 views

2 answers to this question.

+1 vote
Best answer

Hi@akhtar,

Actually, in kafka there is no command kafka --version to find version. You can find by using the below commands.

$ jps -m
7108 QuorumPeerMain config/zookeeper.properties
8219 Kafka config/server.properties
[root@master bin]# pwdx 8219
8219: /root/Desktop/kafka_2.11-0.9.0.0

Here 2.11 is scala version and 0.9.0.0 is kafka version.


Hope this will help.
Thank You

answered Feb 10, 2020 by MD
• 95,040 points

selected Dec 15, 2020 by akhtar
Hi @MD can you please tell in mac how to find out kafka version
I don't have mac system, but I think it will work for mac also, because kafka is an independent tool.
Can we check the version with kafka command? I have gone through the official document. But not able to find it...
Hi,

I think Kafka doesn't have any command t check the version. But you can apply the above trick. It will work.
+1 vote
Try This Command >>>> This will work to you.         

find /usr/share/java/kafka -name \*kafka_\* | head -1 | grep -o '\kafka[^\n]*'
answered Aug 10, 2020 by Ashish Kumar

Related Questions In Apache Kafka

0 votes
1 answer

How to check pending messages in KAFKA topic?

kafka-run-class.bat kafka.tools.ConsumerOffsetChecker --broker-info --group test-consumer-group --topic test ...READ MORE

answered May 29, 2020 in Apache Kafka by chandra
4,259 views
0 votes
1 answer

How to reset the offset of messages consumed from Kafka?

The reset option only prints the result ...READ MORE

answered Jul 9, 2018 in Apache Kafka by Shubham
• 13,480 points
10,284 views
0 votes
1 answer

How to commit message offsets in Kafka for reliable data pipeline?

You can use auto.commit.enable to allow Kafka ...READ MORE

answered Jul 9, 2018 in Apache Kafka by Shubham
• 13,480 points
1,477 views
0 votes
1 answer

How to purge Kafka Topic?

For your case what you can do ...READ MORE

answered Sep 4, 2018 in Apache Kafka by nitinrawat895
• 11,380 points
1,568 views
0 votes
1 answer

How to delete a topic in Kafka 0.8.1.1?

Deleting topic isn't always working in 0.8.1.1 Deletion ...READ MORE

answered Sep 4, 2018 in Apache Kafka by nitinrawat895
• 11,380 points
763 views
+3 votes
1 answer

How to install Kafka on Windows System?

These are the steps to install Kafka ...READ MORE

answered Feb 25, 2019 in Apache Kafka by Ramya
11,353 views
0 votes
1 answer

How to write Kafka connector to integrate with Facebook API?

If you know the limit of API ...READ MORE

answered Apr 29, 2019 in Apache Kafka by Kumar
1,078 views
0 votes
1 answer

How to create Kafka consumer API?

Hi@akhtar, If you know the kafka producer API ...READ MORE

answered Feb 11, 2020 in Apache Kafka by MD
• 95,040 points
375 views
0 votes
1 answer

How to know leader information in kafka?

Hi@akhtar, To know leader information you can use ...READ MORE

answered Feb 10, 2020 in Apache Kafka by MD
• 95,040 points
3,173 views
0 votes
1 answer

How to create kafka producer API?

Hi@akhtar, To create kafka producer API, you can ...READ MORE

answered Feb 11, 2020 in Apache Kafka by MD
• 95,040 points
166 views