Skip to content

Commit

Permalink
Add instruction for XDC Standby (#2360)
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Aug 8, 2019
1 parent 66e8d99 commit 7d90437
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions service/worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7d90437

Please sign in to comment.