... | @@ -595,7 +595,7 @@ maxwell支持多种编码,但仅输出utf8编码 |
... | @@ -595,7 +595,7 @@ maxwell支持多种编码,但仅输出utf8编码 |
|
|
|
|
|
```shell
|
|
```shell
|
|
若需要运行多个Maxwell,需要为每个实例配置不同的client_id,以存储不同的binlog位点;同时,还需要配置replica_server_id,指定一个不同的server_id,如
|
|
若需要运行多个Maxwell,需要为每个实例配置不同的client_id,以存储不同的binlog位点;同时,还需要配置replica_server_id,指定一个不同的server_id,如
|
|
./maxwell --user='canal' --password='canal' --host='127.0.0.1' --producer=stdout --client_id=maxwell--replica_server_id=6379 #默认
|
|
./maxwell --user='canal' --password='canal' --host='127.0.0.1' --producer=stdout --client_id=maxwell --replica_server_id=6379 #默认
|
|
./maxwell --user='canal' --password='canal' --host='127.0.0.1' --producer=stdout --client_id=my --replica_server_id=2345
|
|
./maxwell --user='canal' --password='canal' --host='127.0.0.1' --producer=stdout --client_id=my --replica_server_id=2345
|
|
```
|
|
```
|
|
|
|
|
... | | ... | |