kafak发送修正
This commit is contained in:
parent
b7fa1ee55f
commit
58173a8bf0
0
models/__init__.py
Normal file
0
models/__init__.py
Normal file
@ -10,7 +10,7 @@ class Config:
|
|||||||
SALT = '0r4X00mH'
|
SALT = '0r4X00mH'
|
||||||
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"],
|
||||||
'value_serializer': lambda v: json.dumps(v).encode('utf-8'),
|
'value_serializer': lambda v: v.encode('utf-8'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user