Class KEFCoreTopicAttribute
Overrides the Kafka topic name for an entity type. Takes precedence over TableAttribute> and entity name.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class KEFCoreTopicAttribute : Attribute
- Inheritance
-
KEFCoreTopicAttribute
- Inherited Members
Constructors
KEFCoreTopicAttribute(string)
Overrides the Kafka topic name for an entity type. Takes precedence over TableAttribute> and entity name.
public KEFCoreTopicAttribute(string topicName)
Parameters
topicNamestring
Properties
TopicName
The topic name associated to the IEntityType
public string TopicName { get; }