confluent-cli icon indicating copy to clipboard operation
confluent-cli copied to clipboard

Confluent start kafka also triggers zookeeper

Open Ycallaer opened this issue 7 years ago • 1 comments

Hi all, My confluent installation:

  • confluent open source (installation through deb package)
  • version 4.1
  • scala: 2.11
  • OS: ubuntu 17.10

I have a question with regards to the command confluent start kafka

My situation is as follows: I have 3 zookeepers running on remote servers I have specified these hosts in the server.properties file: zookeeper.connect=x:2181,x:2181,x:2181/kafka_10_test

Yet when I issue the command confluent start kafka it also triggers the start of zookeeper. I think this is faulty behaviour. If you have external zookeeper it should not try to start the zookeeper locally. Any idea if I am doing something wrong from the command line or is incorrect behaviour ?

Thanks for your insight

Ycallaer avatar Apr 25 '18 09:04 Ycallaer

@Ycallaer Note that the CLI is currently meant for development purposes, i.e. for getting services up and running locally on your dev box: https://docs.confluent.io/current/cli/installing.html. Because of this, it's designed to ensure any dependent services have been started before starting another services, so, e.g., it starts ZK before Kafka, Kafka before Schema Registry, and so on.

ewencp avatar Apr 27 '18 16:04 ewencp