Skip to content

Commit

Permalink
(wip)importer 4.1.0 support ssl (#3030)
Browse files Browse the repository at this point in the history
* importer 4.1.0 support ssl

* update
  • Loading branch information
cooper-lzy authored Oct 11, 2023
1 parent 240479d commit 6cde3c4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs-2.0/nebula-importer/use-importer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ NebulaGraph Importer(简称 Importer)是一款{{nebula.name}}的 CSV 文件
- 支持同时连接多个 Graph 服务进行导入并且动态负载均衡。
- 支持失败后重连、重试。
- 支持多维度显示统计信息,包括导入时间、导入百分比等。统计信息支持打印在 Console 或日志中。
- 支持 SSL 加密。

## 优势

Expand Down Expand Up @@ -157,6 +158,12 @@ client:
address: "192.168.1.100:9669,192.168.1.101:9669"
user: root
password: nebula
ssl:
enable: true
certPath: "/home/xxx/cert/importer.crt"
keyPath: "/home/xxx/cert/importer.key"
caPath: "/home/xxx/cert/root.crt"
insecureSkipVerify: false
concurrencyPerAddress: 10
reconnectInitialInterval: 1s
retry: 3
Expand All @@ -169,6 +176,11 @@ client:
|`client.address`|`"127.0.0.1:9669"`|是|指定连接的{{nebula.name}}地址。多个地址用英文逗号(,)分隔。|
|`client.user`|`root`|否|{{nebula.name}}的用户名。|
|`client.password`|`nebula`|否|{{nebula.name}}用户名对应的密码。|
|`client.ssl.enable`|`false`|否|指定是否开启 SSL 认证。|
|`client.ssl.certPath`|-|否|指定 SSL 公钥证书的存储路径。</br>开启 SSL 认证后该参数必填。|
|`client.ssl.keyPath`|-|否|指定 SSL 密钥的存储路径。</br>开启 SSL 认证后该参数必填。|
|`client.ssl.caPath`|-|否|指定 CA 根证书的存储路径。</br>开启 SSL 认证后该参数必填。|
|`client.ssl.insecureSkipVerify`|`false`|否|指定是否跳过验证服务端的证书链和主机名。如果设置为`true`,则接受服务端提供的任何证书链和主机名。|
|`client.concurrencyPerAddress`|`10`|否|单个 Graph 服务的客户端并发连接数。|
|`client.retryInitialInterval`|`1s`|否|重连间隔时间。|
|`client.retry`|`3`|否|nGQL 语句执行失败的重试次数。|
Expand Down

0 comments on commit 6cde3c4

Please sign in to comment.