@@ -187,8 +187,9 @@ namespace HealthMonitor.Service.Sub | |||
} | |||
} | |||
consumer.Commit(consumeRes); | |||
//_logger.LogInformation("监听中...."); | |||
Console.WriteLine("监听中...."); | |||
Console.WriteLine($"{DateTime.Now:yyyy-MM-dd HH:mm:ss.fff},监听中...."); | |||
} | |||
// close consumer after use.Otherwise will lead memory leak. | |||