1
This commit is contained in:
28
iMES.Core/KafkaManager/IService/IKafkaProducer.cs
Normal file
28
iMES.Core/KafkaManager/IService/IKafkaProducer.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
//using System;
|
||||
//using System.Collections.Generic;
|
||||
//using System.Text;
|
||||
//using System.Threading.Tasks;
|
||||
|
||||
//namespace iMES.Core.KafkaManager.IService
|
||||
//{
|
||||
// public interface IKafkaProducer<TKey, TValue>
|
||||
// {
|
||||
// /// <summary>
|
||||
// /// 生产
|
||||
// /// </summary>
|
||||
// /// <param name="Key"></param>
|
||||
// /// <param name="Value"></param>
|
||||
// /// <param name="Topic"></param>
|
||||
// void Produce(TKey Key, TValue Value, string Topic);
|
||||
|
||||
// /// <summary>
|
||||
// /// 生产 异步
|
||||
// /// </summary>
|
||||
// /// <param name="Key"></param>
|
||||
// /// <param name="Value"></param>
|
||||
// /// <param name="Topic"></param>
|
||||
// /// <returns></returns>
|
||||
// Task ProduceAsync(TKey Key, TValue Value, string Topic);
|
||||
|
||||
// }
|
||||
//}
|
||||
Reference in New Issue
Block a user