Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instruction for XDC Standby #2360

Merged
merged 6 commits into from
Aug 8, 2019
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 Kafak should create topics in the flight (with 1 partition). If not, then use the follow command to create topics:
longquanzheng marked this conversation as resolved.
Show resolved Hide resolved
```
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