mirror of https://github.com/apache/kafka.git
KAFKA-17683 Remove Zookeeper from READMEs in 4.0 (#17354)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
60ea0999fb
commit
54e9d75a3f
|
@ -108,15 +108,6 @@ Using docker image:
|
|||
|
||||
docker run -p 9092:9092 apache/kafka:3.7.0
|
||||
|
||||
### Running a Kafka broker in ZooKeeper mode
|
||||
|
||||
Using compiled files:
|
||||
|
||||
./bin/zookeeper-server-start.sh config/zookeeper.properties
|
||||
./bin/kafka-server-start.sh config/server.properties
|
||||
|
||||
>Since ZooKeeper mode is already deprecated and planned to be removed in Apache Kafka 4.0, the docker image only supports running in KRaft mode
|
||||
|
||||
### Cleaning the build ###
|
||||
./gradlew clean
|
||||
|
||||
|
|
|
@ -6,17 +6,14 @@ Trogdor can run benchmarks and other workloads. Trogdor can also inject faults
|
|||
|
||||
Quickstart
|
||||
=========================================================
|
||||
First, we want to start a single-node Kafka cluster with a ZooKeeper and a broker.
|
||||
First, we want to [start a single-node Kafka cluster in KRaft mode](https://github.com/apache/kafka/blob/trunk/README.md#running-a-kafka-broker-in-kraft-mode)
|
||||
|
||||
Running ZooKeeper:
|
||||
Running Kafka in Kraft mode:
|
||||
|
||||
```
|
||||
./bin/zookeeper-server-start.sh ./config/zookeeper.properties &> /tmp/zookeeper.log &
|
||||
```
|
||||
Running Kafka:
|
||||
|
||||
```
|
||||
./bin/kafka-server-start.sh ./config/server.properties &> /tmp/kafka.log &
|
||||
KAFKA_CLUSTER_ID="$(./bin/kafka-storage.sh random-uuid)"
|
||||
./bin/kafka-storage.sh format -t $KAFKA_CLUSTER_ID -c config/kraft/server.properties
|
||||
./bin/kafka-server-start.sh config/kraft/server.properties &> /tmp/kafka.log &
|
||||
```
|
||||
Then, we want to run a Trogdor Agent, plus a Trogdor Coordinator.
|
||||
|
||||
|
|
Loading…
Reference in New Issue