Error pass --path path to confluent flag or set environment variable CONFLUENT HOME

0 votes

I installed confluent kafka in my system, but I am getting the below error.

$ ./confluent local start
Error: pass --path /path/to/confluent flag or set environment variable CONFLUENT_HOME

Thank You

Apr 3, 2020 in Apache Kafka by akhtar
• 38,260 points
4,938 views

1 answer to this question.

0 votes

Hi@akhtar,

Before starting confluent kafka in your system, you have to set PATH and CONFLUENT_HOME in /etc/profile file.

vim /etc/profile
PATH=CONFLUENT_HOME/bin:PATH
CONFLUENT_HOME={replace home directory path of confluent}

Thank You

answered Apr 3, 2020 by MD
• 95,460 points
/etc/profile is read only, not able to update the file.
Hi,

I think you are trying with different user. Try with root user.

Related Questions In Apache Kafka

0 votes
2 answers