namespace Blog.Core.EventBus { /// /// Kafka 配置项 /// public class KafkaOptions { public int ConnectionPoolSize { get; set; } = 10; /// /// 地址 /// public string Servers { get; set; } /// /// 主题 /// public string Topic { get; set; } /// /// 消费者组Id /// public string GroupId { get; set; } /// /// 主题分区 /// public int NumPartitions { get; set; } } }