|
|
@ -46,9 +46,9 @@ kafka:
|
|
|
|
ws2mschat:
|
|
|
|
ws2mschat:
|
|
|
|
addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可
|
|
|
|
addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可
|
|
|
|
topic: "ws2ms_chat" #用于mongo和mysql保存消息
|
|
|
|
topic: "ws2ms_chat" #用于mongo和mysql保存消息
|
|
|
|
# ws2mschatoffline:
|
|
|
|
ws2mschatoffline:
|
|
|
|
# addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可
|
|
|
|
addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可
|
|
|
|
# topic: "ws2ms_chat_offline" #原为离线用户消息处理,目前暂时弃用
|
|
|
|
topic: "ws2ms_chat_offline" #原为离线用户消息处理,目前暂时弃用
|
|
|
|
msgtomongo:
|
|
|
|
msgtomongo:
|
|
|
|
addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可
|
|
|
|
addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可
|
|
|
|
topic: "msg_to_mongo"
|
|
|
|
topic: "msg_to_mongo"
|
|
|
@ -63,6 +63,7 @@ kafka:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#---------------Internal service configuration---------------------#
|
|
|
|
#---------------Internal service configuration---------------------#
|
|
|
|
|
|
|
|
|
|
|
|
# The service ip default is empty,
|
|
|
|
# The service ip default is empty,
|
|
|
|