; Sample ayugespidertools config file.
;
; For more information on the config file, please see:
; https://ayugespidertools.readthedocs.io/en/latest/topics/configuration.html
;
; Notes:
;  - default value: 配置中若含有 default 注释，则说明其已有默认值，若与你所需内容一致可不用解开注释。
;    也可删除它们。

; nacos 远程配置服务: 若管理的项目很多可选择此服务，或者以下的 consul 服务。
; 若这两个都配置了，会优先从 consul 中获取。
; format 对应的解析格式选择有 json, xml, yaml, hcl，默认 json 格式。
; 如果需要有 token 配置请在 url 中构建。

;[nacos]
;url=http://host:port/nacos/v1/cs/configs?dataId=*&group=*&tenant=*
;format=json

; consul 远程配置服务:
; token 为 consul ACLs token，可选参数。

;[consul]
;url=http://host:port/v1/kv/...?dc=dc1&raw
;token=
;format=json

;[mysql]
;user=
;password=
;database=
;host=localhost
;port=3306
;charset=utf8mb4

; mongodb 的 uri 方式连接配置:
; 其中 [mongodb:uri] 和 [mongodb] 按需选择一种即可。
; 若两种都设置了，会优先从 mongodb:uri 中获取配置。

;[mongodb:uri]
;uri=mongodb://user:password@host:port/database?authSource=*&authMechanism=*

;[mongodb]
;database=
;user=
;password=
;host=localhost
;port=27017
;authsource=admin
;authMechanism=SCRAM-SHA-1

;[postgresql]
;user=
;password=
;database=
;host=localhost
;port=5432
;charset=UTF8

;[mq]
;virtualhost=
;queue=
;exchange=
;routing_key=
;username=guest
;password=guest
;host=localhost
;port=5672

; oracle 存储场景所需的配置参数:
; thick_lib_dir 为可选参数，类型可为 bool 和 str，默认为 false，按需配置。

;[oracle]
;user=
;password=
;service_name=
;host=127.0.0.1
;port=1521
;encoding=utf8
;thick_lib_dir=false

; kafka 推送配置:
; 若 bootstrap_servers 有多个，用逗号分隔。比如 x.x.x.x:9092,x.x.x.x:9093

;[kafka]
;bootstrap_servers=127.0.0.1:9092
;topic=
;key=

;[kdl_dynamic_proxy]
;proxy=o668.kdltps.com:15818
;username=
;password=

; 快代理独享代理，比动态代理增加了一个 index 配置，表示取其索引值对应的代理。

;[kdl_exclusive_proxy]
;proxy=http://kps.kdlapi.com/api/getkps?orderid=*&num=100&format=json
;username=
;password=
;index=1
