123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- # This is a TOML document. Boom.
- [host]
- data = "http://data-test.bilibili.co"
- api = "http://api.bilibili.co"
- archive = "http://uat-archive.api.bilibili.co"
- profit = "http://up-profit.bilibili.co"
- www = "http://www.bilibili.com"
- [xlog]
- dir = "/data/log/videoup-report-job/"
- [xlog.elk]
- project = "videoup-report-job"
- addr = "172.18.20.17:8520"
- chanSize = 10240
- [archiveSub]
- key = "0Pub71WwEMKXu63qtztu"
- secret = "0Pub71WwEMKXu63qtztv"
- group = "ArchiveBinlog-ReportJob-S"
- topic = "Archive-T"
- action = "sub"
- name = "videoup-report-job/archivesub"
- proto = "tcp"
- addr = "172.16.33.158:6205"
- idle = 100
- active = 100
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [archiveResultSub]
- key = "0Pub71WwEMKXu63qtztu"
- secret = "0Pub71WwEMKXu63qtztv"
- group = "ArchiveNotify-MainArchive-ReportJob-S"
- topic = "ArchiveNotify-T"
- action = "sub"
- name = "videoup-report-job/archive-result-sub"
- proto = "tcp"
- addr = "172.18.33.50:6205"
- idle = 100
- active = 100
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [videoupSub]
- key = ""
- secret = ""
- group = "Videoup2Bvc-MainArchive-ReportJob-S"
- topic = "Videoup2Bvc"
- action = "sub"
- offset = "old"
- buffer = 128
- name = "videoup-job/bvc-sub"
- proto = "tcp"
- addr = "172.18.33.50:6205"
- active = 1
- idle = 1
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [managerDBSub]
- key = ""
- secret = ""
- group = "ManagerBinLog-MainArchive-S"
- topic = "ManagerBinLog-T"
- action = "sub"
- name = "videoup-report-job/databus"
- proto = "tcp"
- addr = "172.18.33.50:6205"
- active = 1
- idle = 1
- dialTimeout = "1s"
- readTimeout = "60s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [app]
- key = "c05dd4e1638a8af0"
- secret = "7daa7f8c06cd33c5c3067063c746fdcb"
- [httpClient]
- [httpClient.read]
- key = "6aa4286456d16b97"
- secret = "351cf022e1ae8296109c3c524faafcc8"
- dial = "1s"
- timeout = "1s"
- keepAlive = "60s"
- timer = 1000
- [httpClient.read.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpClient.write]
- key = "6aa4286456d16b97"
- secret = "351cf022e1ae8296109c3c524faafcc8"
- dial = "50s"
- timeout = "3s"
- keepAlive = "60s"
- timer = 1000
- [httpClient.write.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [bm]
- addr = "0.0.0.0:6791"
- maxListen = 1000
- timeout = "1s"
- [db]
- [db.archive]
- name = "172.16.33.54:3306"
- dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_archive?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- readDSN = ["test:test@tcp(172.16.33.205:3308)/bilibili_archive?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
- active = 5
- idle = 2
- queryTimeout = "10s"
- execTimeout = "10s"
- tranTimeout = "10s"
- [db.archive.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [db.manager]
- name = "172.16.33.54:3306"
- dsn = "test:test@tcp(172.16.33.54:3306)/bilibili_manager?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8"
- active = 5
- idle = 2
- idleTimeout ="4h"
- queryTimeout = "100ms"
- execTimeout = "100ms"
- tranTimeout = "200ms"
- [db.manager.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [redis]
- [redis.track]
- name = "video-admin/track"
- proto = "tcp"
- addr = "172.16.33.54:6381"
- idle = 10
- active = 10
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- expire = "10s"
- [redis.mail]
- name = "video-admin/track"
- proto = "tcp"
- addr = "172.16.33.54:6381"
- idle = 10
- active = 10
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "10s"
- [redis.secondary]
- name = "videoup-report-job/secondary"
- proto = "unix"
- addr = "172.22.33.137:6835"
- active = 10
- idle = 2
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "80s"
- [archiveRPCGroup2]
- timeout = "1s"
- [hbase]
- master = ""
- meta = ""
- dialTimeout = "5s"
- readTimeout = "10s"
- readsTimeout = "10s"
- writeTimeout = "10s"
- writesTimeout = "10s"
- [hbase.zookeeper]
- root = ""
- addrs = ["172.18.33.131:2181","172.18.33.168:2181","172.18.33.169:2181"]
- timeout = "30s"
- [tagDisRPC]
- timeout = "1s"
- [mail]
- host = "smtp.exmail.qq.com"
- port = 465
- username = "2333@bilibili.com"
- password = "2333"
- speedThreshold = 3
- overspeedThreshold = 2
- [[mail.addr]]
- type = "4"
- desc = "游戏"
- addr = []
- [[mail.addr]]
- type = "11"
- desc = "电视剧"
- addr = []
- [[mail.addr]]
- type = "1"
- desc = "动画"
- addr = []
- [[mail.addr]]
- type = "23"
- desc = "电影"
- addr = []
- [[mail.addr]]
- type = "119"
- desc = "鬼畜"
- addr = []
- [[mail.addr]]
- type = "155"
- desc = "时尚"
- addr = []
- [[mail.addr]]
- type = "160"
- desc = "生活"
- addr = []
- [[mail.addr]]
- type = "36"
- desc = "科技"
- addr = []
- [[mail.addr]]
- type = "5"
- desc = "娱乐"
- addr = []
- [[mail.addr]]
- type = "3"
- desc = "音乐"
- addr = []
- [[mail.addr]]
- type = "129"
- desc = "舞蹈"
- addr = []
- [[mail.addr]]
- type = "13"
- desc = "番剧"
- addr = []
- [[mail.addr]]
- type = "167"
- desc = "国创"
- addr = []
- [[mail.addr]]
- type = "181"
- desc = "影视"
- addr = []
- [[mail.addr]]
- type = "177"
- desc = "纪录片"
- addr = []
- [[mail.addr]]
- type = "signed"
- desc = "签约up主"
- addr = []
- [[mail.privateAddr]]
- type = "155"
- desc = "时尚"
- addr = []
- [[mail.privateAddr]]
- type = "160"
- desc = "生活"
- addr = []
- [[mail.privateAddr]]
- type = "119"
- desc = "鬼畜"
- addr = []
- [[mail.privateAddr]]
- type = "36"
- desc = "科技"
- addr = []
- [[mail.privateAddr]]
- type = "3"
- desc = "音乐"
- addr = []
- [[mail.privateAddr]]
- type = "129"
- desc = "舞蹈"
- addr = []
- [[mail.privateAddr]]
- type = "4"
- desc = "游戏"
- addr = []
- [[mail.privateAddr]]
- type = "181"
- desc = "影视"
- addr = []
- [[mail.privateAddr]]
- type = "1"
- desc = "动画"
- addr = []
- [[mail.privateAddr]]
- type = "CC"
- desc = "抄送列表"
- addr = []
- [grpc]
- [grpc.accRPC]
- timeout = "1s"
- [grpc.upsRPC]
- timeout = "1s"
|