private async void OnTaskNoteCreateHook(SDETaskNote note) { Log.Information("Task Note Created Event Received from Hook!"); try { var dr = await taskNoteProducer.ProduceAsync(INGRESS_ADD_NOTE_TOPIC_NAME, new Message <Ignore, SDETaskNoteProto>() { Value = note }); Log.Information($"Task Note Created message successfully delivered: '{dr.Value}' to '{dr.TopicPartitionOffset}'"); } catch (ProduceException <Null, string> e) { Log.Error($"Task Note Created message delivery failed! {e.Error.Reason}"); } }
public void TriggerTaskNoteCreate(SDETaskNote note) { onTaskNoteCreateHook(note); }