By Azaretdodo
Connected Tutorial(This question is a follow-up to this tutorial):
How To Install Apache Kafka on Ubuntu 20.04Hello,
I can’t extract apache kafka :
kafka@ubuntu-ThinkPad-X250:~/Downloads$ tar -xvzf ~/Downloads/kafka.tgz --strip 1
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Thank you in advance to help myself fully run apache kafka,
Regards.
Azaretdodo.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, @Azaretdodo
Can you confirm that the kafka.tgz was download without any errors using the curl command?
- curl "https://downloads.apache.org/kafka/2.6.2/kafka_2.13-2.6.2.tgz" -o ~/Downloads/kafka.tgz
You can also use wget instead of curl just as a test option and make sure to check the output of the command and see if the file is downloaded in the correct format when using wget the Length in the download output should be:
[application/x-gzip]
Hope that this helps! Regards, Alex
Hi there,
The link to the Kafka tar file should be the following:
curl "https://downloads.apache.org/kafka/2.6.3/kafka_2.13-2.6.3.tgz" -o ~/Downloads/kafka.tgz
Let me know how it goes. Best, Bobby
you have both right i have success to install apache kafka i have just one problem my password for kafka doesn’t work !
regards.
Azaretdodo.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.