Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku CLI does not recognize kafka as a command

When using the Heroku CLI, I get the following error message:

kafka is not a heroku command

I get this when I run heroku help kafka or heroku kafka:topics

I have installed the Heroku toolbelt and am able to login. If I run heroku apps, I am able to see a list of my apps. Has anyone else encountered this error with kafka on the command line?

like image 337
Feroz Abdul Rehman Avatar asked Nov 24 '16 11:11

Feroz Abdul Rehman


People also ask

Why Heroku CLI is not working?

If you're having issues with the CLI, ensure that you're using the latest version. If you're not, try updating with heroku update . Not all methods of installation support heroku update . If you installed the CLI with apt , you must use sudo apt-get update && sudo apt-get upgrade heroku .

Does Heroku support Kafka?

Apache Kafka on Heroku is an add-on that provides Kafka as a service with full integration into the Heroku platform. Apache Kafka is a distributed commit log for fast, fault-tolerant communication between producers and consumers using message based topics.

How do I run Heroku console in Terminal?

Running Commands on the Heroku Web Interface To use the web console, navigate to your application in Heroku. The same application that you would pass into --app earlier. In the top-right of the interface, there is a “More” button, pressing it displays a “Run Console” option. Select it to add your command.


1 Answers

Sorry. I just realised that you need to install the

heroku-kafka cli plugin

Use this command: heroku plugins:install heroku-kafka

like image 134
Feroz Abdul Rehman Avatar answered Nov 07 '22 20:11

Feroz Abdul Rehman