123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- # This is a TOML document. Boom.
- version = "1.0.0"
- user = "nobody"
- pid = "/tmp/dm2-job.pid"
- dir = "./"
- checkFile = "/data/www/dm2-job.html"
- [infoc2]
- taskID = "000279"
- proto = "tcp"
- addr = "172.18.33.125:15140"
- chanSize = 10240
- [db]
- [db.dmwriter]
- addr = "172.16.33.205:3310"
- dsn = "test_3308:test_3308@tcp(172.16.33.205:3310)/bilibili_dm_meta?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8mb4"
- active = 10
- idle = 5
- idleTimeout ="4h"
- queryTimeout = "500ms"
- execTimeout = "500ms"
- tranTimeout = "500ms"
- [db.dmwriter.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [db.dmreader]
- addr = "172.16.33.205:3310"
- dsn = "test_3308:test_3308@tcp(172.16.33.205:3310)/bilibili_dm_meta?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8mb4"
- active = 10
- idle = 5
- idleTimeout ="4h"
- queryTimeout = "500ms"
- execTimeout = "500ms"
- tranTimeout = "500ms"
- [db.dmreader.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [db.biliDMWriter]
- addr = "172.16.33.205:3308"
- dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_dm?timeout=5s&readTimeout=5s&writeTimeout=15s&parseTime=true&loc=Local&charset=utf8"
- active = 5
- idle = 5
- idleTimeout ="4h"
- queryTimeout = "3s"
- execTimeout = "3s"
- tranTimeout = "3s"
- [db.biliDMWriter.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [redis]
- [redis.dm]
- name = "dm2-job"
- proto = "tcp"
- addr = "127.0.0.1:6379"
- active = 10
- idle = 5
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "24h"
- [redis.dmRct]
- name = "dm2-job"
- proto = "tcp"
- addr = "172.16.33.54:6379"
- active = 10
- idle = 5
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "720h"
- [memcache]
- name = "dm2-job"
- proto = "tcp"
- addr = "172.16.33.54:11211"
- idle = 5
- active = 10
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "80s"
- expire = "24h"
- [subtitlememcache]
- name = "dm2-job"
- proto = "tcp"
- addr = "172.16.33.54:11211"
- idle = 5
- active = 10
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "80s"
- expire = "24h"
- [archiveRPC]
- group = "test"
- timeout = "1s"
- [databus]
- [databus.indexCsmr]
- key = "0Pub71KvEMKXu63qtztq"
- secret = "0Pub71KvEMKXu63qtztr"
- group = "DMMeta-UGC-S"
- topic = "DMMeta-T"
- action = "sub"
- name = "dm2-job"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 1
- active = 1
- dialTimeout = "1s"
- readTimeout = "40s"
- writeTimeout = "1s"
- idleTimeout = "60s"
- [databus.subjectCsmr]
- key = "0Pub71KvEMKXu63qtztq"
- secret = "0Pub71KvEMKXu63qtztr"
- group = "DMSubject-UGC-S"
- topic = "DMSubject-T"
- action = "sub"
- name = "dm2-job"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 1
- active = 1
- dialTimeout = "1s"
- readTimeout = "40s"
- writeTimeout = "1s"
- idleTimeout = "60s"
- [databus.actionCsmr]
- key = "0Pub71KvEMKXu63qtztq"
- secret = "0Pub71KvEMKXu63qtztr"
- group = "DMAction-UGC-S"
- topic = "DMAction-T"
- action = "sub"
- name = "dm2-job"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 1
- active = 1
- dialTimeout = "1s"
- readTimeout = "40s"
- writeTimeout = "1s"
- idleTimeout = "60s"
- [databus.reportCsmr]
- key = "170e302355453683"
- secret = "51b66df3ebeca2b08f0017f350b6f0ce"
- group = "DMReport-MainCommunity-S"
- topic = "DMReport-T"
- action = "sub"
- name = "dm2-job"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 1
- active = 1
- dialTimeout = "1s"
- readTimeout = "40s"
- writeTimeout = "1s"
- idleTimeout = "60s"
- [databus.videoupCsmr]
- key = "170e302355453683"
- secret = "3d0e8db7bed0503949e545a469789279"
- group = "Videoup2Bvc-MainCommunity-S"
- topic = "Videoup2Bvc"
- action = "sub"
- name = "dm2-job"
- proto = "tcp"
- addr = "172.18.33.50:6205"
- idle = 1
- active = 1
- dialTimeout = "1s"
- readTimeout = "40s"
- writeTimeout = "1s"
- idleTimeout = "60s"
- [databus.subtitleAuditCsmr]
- key = "170e302355453683"
- secret = "3d0e8db7bed0503949e545a469789279"
- group = "SubtitleCheck-MainCommunity-S"
- topic = "SubtitleCheck-T"
- action = "sub"
- name = "dm2-job"
- proto = "tcp"
- addr = "172.16.38.154:6205"
- idle = 1
- active = 1
- dialTimeout = "1s"
- readTimeout = "40s"
- writeTimeout = "1s"
- idleTimeout = "60s"
- [httpClient]
- key = "f6433799dbd88751"
- secret = "36f8ddb1806207fe07013ab6a77a3935"
- dial = "1s"
- timeout = "2s"
- keepAlive = "60s"
- timer = 1000
- [httpClient.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [bfsClient]
- key = "f6433799dbd88751"
- secret = "36f8ddb1806207fe07013ab6a77a3935"
- dial = "1s"
- timeout = "2s"
- keepAlive = "60s"
- timer = 1000
- [bfsClient.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [host]
- videoup = "http://uat-archive.api.bilibili.co"
- mask = "http://172.22.33.111:8200"
- datarank = "http://data-test.bilibili.co"
- merakHost="http://merak.bilibili.co"
- [realname]
- "1,2" = 2
- [seqRPC]
- policy = "sharding"
- timeout = "1s"
- [seq]
- businessID = 10
- token = "Nf9phmDdzjTMW9M5V8YQuLpVTwhvn5IO"
- [maskCate]
- tids=[185]
- interval = "10m"
- [taskConf]
- delInterval = "1m"
- resInterval = "10m"
- ResFieldLen = 7
- DelNum = 100
- DelLimit = 20
- msgCC = ["guhao","fengduzhen"]
- MsgPublicKey= "71f079db59672ecec5b8d6f252c4b59ab2a8a227mainsite@bilibili.com"
-
|