增加 对选住推送日志的监控
本质上就是自己用mongodb记录一下日志。
This commit is contained in:
@@ -787,7 +787,9 @@ namespace BLWLogProduce.Services
|
||||
string TopicKey = KafkaKey.BLWLog4XuanZhu_RCU_Topic;
|
||||
string DetailKey = KafkaKey.UDPPackageDeviceStatus;
|
||||
|
||||
string logKey = KafkaKey.BLWLog_RCU_Topic;
|
||||
await p.ProduceAsync(TopicKey, new Message<string, byte[]> { Key = DetailKey, Value = data });
|
||||
await p.ProduceAsync(logKey, new Message<string, byte[]> { Key = DetailKey, Value = data });
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user