Report this

What is the reason for this report?

I can't extract apache kafka

Posted on January 15, 2022

Connected Tutorial(This question is a follow-up to this tutorial):

How To Install Apache Kafka on Ubuntu 20.04

Hello,

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @Azaretdodo

Can you confirm that the kafka.tgz was download without any errors using the curl command?

  1. 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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.