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; }
}