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