123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- version = "1.0.0"
- user = "nobody"
- pid = "/tmp/figure-job.pid"
- dir = "./"
- perf = "127.0.0.1:7070"
- checkFile = "/data/www/figure-job.html"
- family = "figure-job"
- [log]
- dir = "/data/log/figure-job"
- [bm]
- addr = "0.0.0.0:7072"
- timeout = "1s"
- maxListen = 100
- [figure]
- spypath = "./data/spy"
- vippath = "./data/vip"
- sync = false
- lawful = 80
- wide = 0
- friendly = 50
- bounty = 0
- creativity = 0
- [mysql]
- addr = "172.16.0.28:3306"
- dsn = "root:123456@tcp(172.16.0.28:3306)/bilibili_figure?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 5
- idle = 2
- queryTimeout = "1s"
- execTimeout = "1s"
- tranTimeout = "1s"
- [mysql.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [dataSource]
- [dataSource.accountExp]
- key = "0QEO9F8JuuIxZzNDvklH"
- secret= "0QEO9F8JuuIxZzNDvklI"
- group= "AccountLog-MainAccount-Figure-S"
- topic= "AccountLog-T"
- action="sub"
- name = "figure-job/databus"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 2
- active = 10
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "1h"
- [dataSource.accountReg]
- key = "0QEO9F8JuuIxZzNDvklH"
- secret= "0QEO9F8JuuIxZzNDvklI"
- group= "PassportPurgeCache-Figure-S"
- topic= "PassportPurgeCache-T"
- action="sub"
- name = "figure-job/databus"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 2
- active = 10
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "1h"
- [dataSource.vip]
- key = "0QEO9F8JuuIxZzNDvklH"
- secret= "0QEO9F8JuuIxZzNDvklI"
- group= "VipBinlog-Figure-S"
- topic= "VipBinlog-T"
- action="sub"
- name = "figure-job/databus"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 2
- active = 10
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "1h"
- [dataSource.spy]
- key = "0QEO9F8JuuIxZzNDvklH"
- secret= "0QEO9F8JuuIxZzNDvklI"
- group= "Spy-Figure-S"
- topic= "Spy-T"
- action="sub"
- name = "figure-job/databus"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 2
- active = 10
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "1h"
- [dataSource.coin]
- key = "0QEO9F8JuuIxZzNDvklH"
- secret= "0QEO9F8JuuIxZzNDvklI"
- group= "Coin-Figure-S"
- topic= "Coin-T"
- action="sub"
- name = "figure-job/databus"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 2
- active = 10
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "1h"
- [dataSource.replyInfo]
- key = "0QEO9F8JuuIxZzNDvklH"
- secret= "0QEO9F8JuuIxZzNDvklI"
- group= "Reply-Figure-S"
- topic= "Reply-T"
- action="sub"
- name = "figure-job/databus"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 2
- active = 10
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "1h"
- # [dataSource.pay]
- # key = "0QEO9F8JuuIxZzNDvklH"
- # secret= "0QEO9F8JuuIxZzNDvklI"
- # group= "PayBinlog-Figure-S"
- # topic= "PayBinlog-T"
- # action="sub"
- # name = "figure-job/databus"
- # proto = "tcp"
- # addr = "172.16.33.158:6205"
- # idle = 2
- # active = 10
- # dialTimeout = "1s"
- # readTimeout = "60s"
- # writeTimeout = "1s"
- # idleTimeout = "10s"
- # expire = "1h"
- # [dataSource.blocked]
- # key = "0QEO9F8JuuIxZzNDvklH"
- # secret= "0QEO9F8JuuIxZzNDvklI"
- # group= "Blocked-Figure-S"
- # topic= "Blocked-T"
- # action="sub"
- # name = "figure-job/databus"
- # proto = "tcp"
- # addr = "172.16.33.158:6205"
- # idle = 2
- # active = 10
- # dialTimeout = "1s"
- # readTimeout = "60s"
- # writeTimeout = "1s"
- # idleTimeout = "10s"
- # expire = "1h"
- # [dataSource.danmaku]
- # key = "0QEO9F8JuuIxZzNDvklH"
- # secret= "0QEO9F8JuuIxZzNDvklI"
- # group= "DMAction-Figure-S"
- # topic= "DMAction-T"
- # action="sub"
- # name = "figure-job/databus"
- # proto = "tcp"
- # addr = "172.16.33.158:6205"
- # idle = 2
- # active = 10
- # dialTimeout = "1s"
- # readTimeout = "60s"
- # writeTimeout = "1s"
- # idleTimeout = "10s"
- # expire = "1h"
- [hbase]
- master = ""
- meta = ""
- dialTimeout = "1s"
- readTimeout = "10s"
- readsTimeout = "10s"
- writeTimeout = "10s"
- writesTimeout = "10s"
- [hbase.zookeeper]
- root = ""
- addrs = ["10.23.66.145:2181"]
- timeout = "30s"
- [redis]
- name = "figure-service"
- proto = "tcp"
- addr = "172.16.33.54:6379"
- idle = 100
- active = 100
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "24h"
- waiteMidExpire = "192h"
|