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,260 points
47,850 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.

To know more about Kafka, get your Apache Kafka certification course today.

Thank You

answered Feb 10, 2020 by MD
• 95,460 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 11, 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
11,097 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 10, 2018 in Apache Kafka by Shubham
• 13,490 points
14,040 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 10, 2018 in Apache Kafka by Shubham
• 13,490 points
3,592 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
2,738 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
1,841 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
14,181 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
2,820 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,460 points
1,556 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,460 points
16,610 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,460 points
914 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP