浏览代码

rocketmq 主题调整

heshixin 21 小时之前
父节点
当前提交
f791f0f4f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      communication/rocketmq_link.py

+ 1 - 1
communication/rocketmq_link.py

@@ -123,7 +123,7 @@ class RocketClient:
             msg.set_keys(keys)
         msg.set_body(body.encode('utf-8'))
         cls._producer.send_sync(msg)
-        logger.critical(f'[RocketClient] send msg to  {topic}')
+        logger.critical(f'[RocketClient] send msg to  {topic}:{tags}')
 
 def on_rocket_msg(cop_msg:ReceivedMessage):
     from main import main