mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Updated Sync ES (markdown)
@@ -27,6 +27,8 @@ canal.conf:
|
|||||||
- name: es
|
- name: es
|
||||||
hosts: 127.0.0.1:9300 # es 集群地址, 逗号分隔
|
hosts: 127.0.0.1:9300 # es 集群地址, 逗号分隔
|
||||||
properties:
|
properties:
|
||||||
|
mode: transport # or rest # 可指定transport模式或者rest模式
|
||||||
|
# security.auth: test:123456 # only used for rest mode
|
||||||
cluster.name: elasticsearch # es cluster name
|
cluster.name: elasticsearch # es cluster name
|
||||||
```
|
```
|
||||||
adapter将会自动加载 conf/es 下的所有.yml结尾的配置文件
|
adapter将会自动加载 conf/es 下的所有.yml结尾的配置文件
|
||||||
|
|||||||
Reference in New Issue
Block a user