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 in Apache Kafka by akhtar
• 10,330 points
106 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 by MD
• 22,520 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
1 answer

How to installed confluent kafka in our system?

Hi@akhtar, Confluent is a data streaming platform based on ...READ MORE

answered Apr 3 in Apache Kafka by MD
• 22,520 points
52 views
0 votes
1 answer

How to write output from Kafka to S3 using a Confluent S3 connector?

Hi@akhtar, To do this task you have to ...READ MORE

answered Apr 3 in Apache Kafka by MD
• 22,520 points
132 views
0 votes
1 answer

Is there any change in consumer offsets if a new partition(s) is added to a Kafka topic?

Yes, it stays the same. An offset is ...READ MORE

answered Jul 9, 2018 in Apache Kafka by nitinrawat895
• 10,920 points
576 views
0 votes
1 answer

Re-balancing error while reading messages from Kafka.

rebalance.backoff.ms defines the time for which Kafka ...READ MORE

answered Jul 9, 2018 in Apache Kafka by Shubham
• 13,380 points
880 views
0 votes
1 answer

How to read batch messages in confluent-kafka-python?

Hi@akhtar, You have to read the messages normally ...READ MORE

answered Apr 3 in Apache Kafka by MD
• 22,520 points
83 views
+1 vote
12 answers

How can I delete all the messages from a Kafka topic?

As of kafka 2.3.0 version, there is ...READ MORE

answered Sep 8, 2019 in Apache Kafka by Brajkishore
• 240 points
87,130 views
0 votes
1 answer

How to purge Kafka Topic?

For your case what you can do ...READ MORE

answered Sep 4, 2018 in Apache Kafka by nitinrawat895
• 10,920 points
961 views
0 votes
1 answer

error during KafkaServerStartable startup. Prepare to shutdown (kafka.server.KafkaServerStartable)

Hi@akhtar, This error occurs because zookeeper is running already. So ...READ MORE

answered Mar 31 in Apache Kafka by MD
• 22,520 points
41 views