예제 #1
0
 private async Task SendMessage(object message)
 {
     try
     {
         await _producer.SendAsync("identity", message);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }