目錄
- Confluent Plarform
- Standalone(Confluent CLI)
- Confluent in Production
-
- ZooKeeper
- Kafka
- 相關網站
Confluent Plarform
Enabling streaming data as the new paradigm for data flow
Standalone(Confluent CLI)
這個模式使用十分簡單:
-
啟動全部服務
confluent start
結果大緻:
Starting zookeeper
zookeeper is [UP]
Starting kafka
kafka is [UP]
Starting schema-registry
schema-registry is [UP]
Starting kafka-rest
kafka-rest is [UP]
Starting connect
connect is [UP]
Starting ksql-server
ksql-server is [UP]
Starting control-center
control-center is [UP]
- 單獨啟動服務,如
Kafka
confluent start kafka
結果大緻:
Starting zookeeper
zookeeper is [UP]
Starting kafka
kafka is [UP]
-
檢視啟動後的情況
confluent status
結果大緻:
control-center is [DOWN]
ksql-server is [DOWN]
connect is [DOWN]
kafka-rest is [DOWN]
schema-registry is [DOWN]
kafka is [UP]
zookeeper is [UP]
這個模式僅在測試中使用,生産環境需要手動啟動每個服務。(e.g.
connect
,
kafka
,
ksql
etc.)
The Confluent CLI is meant for development purposes only and is not suitable for a production environment. The data that are produced are transient and are intended to be temporary.
相關網站:
- Installing Confluent CLI
- Confluent CLI start
Confluent in Production
生産環境下,需要手動配置和手動啟動每個服務
ZooKeeper
-
使用ZK指令啟動
bin/zkServer.sh start
-
使用Confluent指令啟動
bin/zookeeper-server-start [zk configuration file]
如
<path-to-confluent>/bin/zookeeper-server-start <path-to-confluent>/etc/kafka/zookeeper.properties
Kafka
-
使用Kafka指令啟動
bin/kafka-server-start.sh config/server.properties
-
使用Confluent指令啟動
bin/kafka-server-start [Kafka configuration file]
如
<path-to-confluent>/bin/kafka-server-start <path-to-confluent>/etc/kafka/server.properties
完成資訊參考:Manual Install using ZIP and TAR Archives
相關網站
- Confluent - How to use external zookeeper instead of embedded zookeeper