using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JiShe.CollectBus.Kafka.Attributes { [AttributeUsage(AttributeTargets.Class, Inherited = false)] public class TopicAttribute: Attribute { /// /// Initializes a new instance of the class. /// /// The name. public TopicAttribute(string name = "Default") { Name = name; } /// /// Gets or sets the name. /// /// /// The name. /// public string Name { get; set; } } }