Add instruction for XDC Standby
@@ -22,19 +22,24 @@ Quickstart for localhost development
1. Setup Kafka by following instructions:
[Kafka Quickstart](https://kafka.apache.org/quickstart)
-2. Create Kafka topic for active cluster:
+2. Create Kafka topic for active and standby clusters if needed. By default the development Kafka should create topics in- flight (with 1 partition). If not, then use the follow command to create topics:
```
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic active
```
-3. Create Kafka topic for standby cluster:
+and
```
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic standby
```
-4. Start Cadence development server for active zone:
+3. Start Cadence development server for active zone:
```
./cadence-server --zone active start
```
+4. Start Cadence development server for standby(passive) zone:
+```
+./cadence-server --zone standby start
+```
+
Cadence cluster is now running with the replicator consuming messages from
Kafka topic standby.
