123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- # This is a TOML document. Boom.
- version = "2.3.0"
- user = "nobody"
- pid = "/tmp/history.pid"
- dir = "./"
- perf = "0.0.0.0:6000"
- checkFile = "/data/www/history.html"
- family = "history"
- address = ""
- # history
- [history]
- max = 10
- total = 20
- cache = 10
- page = 20
- size = 100
- ticker = "30s"
- pgc = true
- tid = [33,120,148,149,32,94,150,151]
- Exp = true
- mids = [14771787]
- ConsumeSize = 100
- [xlog]
- dir = "/data/log/history/"
- [collector]
- taskID = "000078"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 1024
- [thirdBusines]
- favoriteURL = "http://api.bilibili.co/x/v2/fav/video/favoureds"
- bangumiV2URL = "http://bangumi.bilibili.co/internal_api/get_eps_v2"
- seasonURL = "http://bangumi.bilibili.co/api/inner/archive/aid2seasonid"
- [thirdBusines.httpClient]
- dial = "1s"
- timeout = "1s"
- keepAlive = "60s"
- timer = 1000
- key = "f6433799dbd88751"
- secret = "36f8ddb1806207fe07013ab6a77a3935"
- [thirdBusines.httpClient.breaker]
- window ="10s"
- sleep ="10ms"
- bucket = 10
- ratio = 0.1
- request = 100
- [app]
- key = "f6433799dbd88751"
- secret = "36f8ddb1806207fe07013ab6a77a3935"
- [multiHTTP]
- [multiHTTP.outer]
- addrs = ["0.0.0.0:6001"]
- maxListen = 10
- [multiHTTP.inner]
- addrs = ["0.0.0.0:6002"]
- maxListen = 10
- [multiHTTP.local]
- addrs = ["0.0.0.0:6003"]
- maxListen = 10
-
- [bm]
- addr = "0.0.0.0:6001"
- maxListen = 1000
- timeout = "800ms"
- [identify]
- whiteAccessKey = ""
- whiteMid = 0
- csrfOn = false
- [identify.app]
- key = "0dc647722719f2ea"
- secret = "a3769b553680da10b40994265fb48d20"
- [identify.memcache]
- name = "go-business/identify"
- proto = "tcp"
- addr = "172.16.0.148:11211"
- active = 5
- idle = 10
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "80s"
- [identify.host]
- auth = "http://passport.bilibili.co"
- secret = "http://open.bilibili.co"
- [identify.httpClient]
- dial = "30ms"
- timeout = "100ms"
- keepAlive = "60s"
- key = "f6433799dbd88751"
- secret = "36f8ddb1806207fe07013ab6a77a3935"
- [identify.httpClient.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [identify.httpClient.url]
- "http://passport.bilibili.co/intranet/auth/tokenInfo" = {timeout = "100ms"}
- "http://passport.bilibili.co/intranet/auth/cookieInfo" = {timeout = "100ms"}
- "http://open.bilibili.co/api/getsecret" = {timeout = "500ms"}
-
- [rpcClient2]
- [rpcClient2.account]
- pullInterval = "10s"
- [rpcClient2.account.client]
- timeout = "1s"
- timer = 1000
- [rpcClient2.account.client.breaker]
- window ="3s"
- sleep ="100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [[rpcClient2.account.backup]]
- proto = "tcp"
- addr = "172.16.33.56:6079"
- timeout = "1s"
- timer = 1000
- [rpcClient2.account.zookeeper]
- root = "/microservice/account-service/"
- addrs = ["172.18.33.172:2181"]
- timeout = "30s"
- [rpcClient2.archive]
- group = "test"
- pullInterval = "10s"
- [rpcClient2.archive.client]
- token = "123456"
- timeout = "1s"
- timer = 1000
- [rpcClient2.archive.client.breaker]
- window ="3s"
- sleep ="100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [[rpcClient2.archive.backup]]
- proto = "tcp"
- addr = "172.16.33.56:6089"
- timeout = "1s"
- timer = 1000
- [rpcClient2.archive.zookeeper]
- root = "/microservice/archive-service/"
- addrs = ["172.18.33.172:2181"]
- timeout = "30s"
- [rpcClient2.archive.breaker]
- window ="3s"
- sleep ="100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [toview]
- name = "history"
- proto = "tcp"
- addr = "172.16.33.54:6381"
- idle = 100
- active = 100
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "6h"
- [redis]
- name = "history"
- proto = "tcp"
- addr = "172.16.33.54:6380"
- idle = 100
- active = 100
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "6h"
- [databus]
- [databus.merge]
- key = "0Pub71WwEMKXu63qtztu"
- secret= "0Pub71WwEMKXu63qtztv"
- group= "HistoryMerge-History-P"
- topic= "HistoryMerge-T"
- action="pub"
- name = "history"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 100
- active = 100
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [databus.Experience]
- key = "0Pub71WwEMKXu63qtztu"
- secret= "0Pub71WwEMKXu63qtztv"
- group= "AccountExp-MainCommunity-P"
- topic= "AccountExp-T"
- action="pub"
- name = "history"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 100
- active = 100
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [ecode]
- domain = "172.16.33.248:6401"
- all = "1h"
- diff = "10m"
- [ecode.clientconfig]
- dial = "2000ms"
- timeout = "2s"
- keepAlive = "10s"
- timer = 128
- key = "test"
- secret = "e6c4c252dc7e3d8a90805eecd7c73396"
- [ecode.clientconfig.breaker]
- window ="3s"
- sleep ="100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [tracer]
- proto = "udp"
- addr = "172.16.33.46:5140"
- tag = "platform/history"
- [info]
- master = ""
- meta = ""
- dialTimeout = "1s"
- readTimeout = "10s"
- readsTimeout = "10s"
- writeTimeout = "10s"
- writesTimeout = "10s"
- [info.zookeeper]
- root = ""
- addrs = ["172.18.33.131:2181","172.18.33.168:2181","172.18.33.169:2181"]
- timeout = "30s"
- [grpc]
- timeout = "1s"
- addr = "0.0.0.0:6008"
|