添加争霸测试

This commit is contained in:
wuaho 2021-04-28 15:08:31 +08:00
parent 3dd0f232be
commit dd82babe9f

View File

@ -59,23 +59,28 @@ class Config:
'password': 'd1Gh*zp5', 'password': 'd1Gh*zp5',
'db': 1 'db': 1
} }
# appid 对应的签名
SALT = { SALT = {
'3F9AdWKZGhhNS2': 's4epprEG8DdyG5', '3F9AdWKZGhhNS2': 's4epprEG8DdyG5',
'G5OYZLM21H': 's4epprEG8DdyG5', 'G5OYZLM21H': 's4epprEG8DdyG5',
'c3e0409ac18341149877b08f087db640': 's4epprEG8DdyG5', 'c3e0409ac18341149877b08f087db640': 's4epprEG8DdyG5',
'e903ab24ad8f4bfca8a3ce7e122cd102': 's4epprEG8DdyG5' 'e903ab24ad8f4bfca8a3ce7e122cd102': 'asfsdafasdsf'
} }
# 映射数数 appID # 映射数数 appID
APPID_MAP = { APPID_MAP = {
'3F9AdWKZGhhNS2': 'a77703e24e6643d08b74a4163a14f74c' '3F9AdWKZGhhNS2': 'a77703e24e6643d08b74a4163a14f74c',
'e903ab24ad8f4bfca8a3ce7e122cd102':'e903ab24ad8f4bfca8a3ce7e122cd102'
} }
# appid 发送到对应 topic
OUTPUT_NAME = { OUTPUT_NAME = {
'3F9AdWKZGhhNS2': 'test', '3F9AdWKZGhhNS2': 'test',
'G5OYZLM21H': 'test', 'G5OYZLM21H': 'test',
'c3e0409ac18341149877b08f087db640': 'test2', 'c3e0409ac18341149877b08f087db640': 'test2',
'e903ab24ad8f4bfca8a3ce7e122cd102': 'test3' 'e903ab24ad8f4bfca8a3ce7e122cd102': 'zhengba_test'
} }
KAFKA_CONF = { KAFKA_CONF = {
'bootstrap_servers': ["192.168.0.30:9092", "192.168.0.71:9092", "192.168.0.229:9092"], 'bootstrap_servers': ["192.168.0.30:9092", "192.168.0.71:9092", "192.168.0.229:9092"],