123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- [mongob] ## bidding 链接
- host = "127.0.0.1:27083"
- db = "qfw"
- coll = "bidding" ## 标讯数据标
- size =10
- username = "SJZY_RWbid_ES"
- password = "SJZY@B4i4D5e6S"
- direct = true
- ## 测试环境
- # host = "192.168.3.206:27002"
- # db = "qfw_data"
- # coll = "bidding" ## 标讯数据标
- # username = "root"
- # password = "root"
- [env]
- # filestart = "652c0c83296f2847a1c87241" ## bidding_file 起始ID
- # nomalstart = "652c0c85ff68a4004101fe97" ## bidding_nomal 起始ID
- nextaddr = "127.0.0.1" ## 调用抽取地址
- nextport = "1177" ## 调用抽取端口
- localport = ":1176" ## 本地监听端口
- send = false ## 是否给抽取发送数据;正式环境应为 true
- spec = "59 59 * * * *" ## 每天23点执行;已日更新的方式创建索引
- ## spec = "0 00 01 * * *" ## 每天01点执行;适合 按照月份创建索引
- alias = ["bidding_pre","bidding_pre2","bidding_pre3"] ## 预处理索引别名,支持多个别名
- spectype = "hour" ## 定时任务类型;正式环境应该是 month 。day 表示每天创建一个索引;month 表示每个月创建一个;hour 每个小时创建一次
- [[es]] ## es集群,支持多个集群创建 预处理索引
- [es.19805] ## 测试环境 es集群
- url = "http://127.0.0.1:19805" ## 测试环境
- username = "es_all"
- password = "TopJkO2E_d1x"
- shares = "12" ## 分片数量,测试环境 是2,正式环境应该是12
- [es.19905]
- url = "http://127.0.0.1:19905" ## 测试环境
- username = "jybid"
- password = "Top2023_JEB01i@31"
- shares = "7" ## 分片数量,测试环境 是2,正式环境应该是 7
- [email]
- api = "http://172.17.145.179:19281/_send/_mail"
- to = "wangchengcheng@topnet.net.cn"
- [log]
- # 日志路径,为空将输出控制台
- logpath = ""
- # logpath = "logs/log.out"
- # log size (M)
- maxsize = 10
- # compress log
- compress = true
- # log save time (day)
- maxage = 7
- # save total log file total
- maxbackups = 10
- # log level
- loglevel = "debug"
- # text or json output
- format = "json"
|