From dd82babe9f586a20143cbcd9d2effa787dcb4676 Mon Sep 17 00:00:00 2001 From: wuaho Date: Wed, 28 Apr 2021 15:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=89=E9=9C=B8=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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"],