using Confluent.Kafka;
using System;
namespace EntrustSettle.EventBus
{
///
/// Kafka连接池
///
public interface IKafkaConnectionPool:IDisposable
{
///
/// 取对象
///
///
IProducer Producer();
///
/// 将对象放入连接池
///
///
///
bool Return(IProducer producer);
}
}