private KafkaProducerArgs OnKakfaProducerSucces(T message, string key = "") { var e = new KafkaProducerArgs(message, key, null); KakfaProducerSucces?.Invoke(e); return(e); }
private KafkaProducerArgs OnKakfaProducerException(T messages, string key = "", ProduceException <string, string> kafkaProducerExecption = null) { var e = new KafkaProducerArgs(messages, key, kafkaProducerExecption); KakfaProducerException?.Invoke(e); return(e); }