记得上下班打卡 | git大法好,push需谨慎

Commit 10ee3c9d authored by 张国柄's avatar 张国柄

revert Adam压测:暂时取消sendMqByRedis;

parent 0b9f65f7
...@@ -34,8 +34,8 @@ public class QueueUtils { ...@@ -34,8 +34,8 @@ public class QueueUtils {
* @param jsonMsg Json字符串 * @param jsonMsg Json字符串
*/ */
public void sendMsgByRedis(String streamKey, String jsonMsg) { public void sendMsgByRedis(String streamKey, String jsonMsg) {
// HashMap<String, String> map = CollectionUtil.mapStringString(); HashMap<String, String> map = CollectionUtil.mapStringString();
// map.put("message", jsonMsg); map.put("message", jsonMsg);
// stringRedisTemplate.opsForStream().add(StreamRecords.mapBacked(map).withStreamKey(streamKey)); stringRedisTemplate.opsForStream().add(StreamRecords.mapBacked(map).withStreamKey(streamKey));
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment