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?
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 .
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.
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.
Sorry. I just realised that you need to install the
heroku-kafka cli plugin
Use this command: heroku plugins:install heroku-kafka
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With