Skip to content

Commit

Permalink
Update README.md (uber#2364)
Browse files Browse the repository at this point in the history
  • Loading branch information
meiliang86 authored Aug 12, 2019
1 parent 2e6fb7e commit 815db6f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions service/worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,21 @@ bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 -
./cadence-server --zone standby start
```

5. Create global domains
```
cadence --do sample domain register --gd true --ac active --cl active standby
```

Cadence cluster is now running with the replicator consuming messages from
Kafka topic standby.
6. Failover between zones:

Failover to standby:
```
cadence --do sample domain update --ac standby
```
Failback to active:
```
cadence --do sample domain update --ac active
```

Create replication task using CLI
---------------------------------
Expand Down

0 comments on commit 815db6f

Please sign in to comment.