Skip to content

Commit

Permalink
cdc: update address and advertise address (#2526) (#2540)
Browse files Browse the repository at this point in the history
  • Loading branch information
sre-bot authored May 13, 2020
1 parent 47b70be commit 074fb88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/tools/ticdc/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ Suppose that there is a PD node (the client URL is `10.0.10.25:2379`) in the PD
{{< copyable "shell-regular" >}}

```shell
cdc server --pd=http://10.0.10.25:2379 --log-file=ticdc_1.log --status-addr=127.0.0.1:8301
cdc server --pd=http://10.0.10.25:2379 --log-file=ticdc_2.log --status-addr=127.0.0.1:8302
cdc server --pd=http://10.0.10.25:2379 --log-file=ticdc_3.log --status-addr=127.0.0.1:8303
cdc server --pd=http://10.0.10.25:2379 --log-file=ticdc_1.log --addr 0.0.0.0:8301 --advertise-addr=127.0.0.1:8301
cdc server --pd=http://10.0.10.25:2379 --log-file=ticdc_2.log --addr 0.0.0.0:8302 --advertise-addr=127.0.0.1:8302
cdc server --pd=http://10.0.10.25:2379 --log-file=ticdc_3.log --addr 0.0.0.0:8303 --advertise-addr=127.0.0.1:8303
```

## Step 2: Create replication task
Expand Down

0 comments on commit 074fb88

Please sign in to comment.