Confluent Error: Set Environment Variable Confluent_Home

I have installed confluent-7.0.0 on ubuntu 20.04.Followed the official documentation . I have added the path of confluent_home as shown below in .bashrc file.:

export PATH=/home/abc/confluent-7.0.0/bin:$PATH 
export PATH=$PATH:$CONFLUENT_HOME/bin

And run the command source ~/.bashrc. Now the problem is when I have started my services first time by confluent local services start it has up the services of zookeeper,kafka,schema registry,kafka-rest,connect and ksql but while starting control center it has aborted the operation. And now when I am running this command confluent local services start it is giving the following error:

The local commands are intended for a single-node development environment only,
NOT for production usage. 

Error: set environment variable CONFLUENT_HOME

Which else environment variable do I have to set and how?

2

1 Answer

This is what you need

export CONFLUENT_HOME=/home/abc/confluent-7.0.0 
export PATH=$CONFLUENT_HOME/bin:$PATH

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest