Interface ITopicNameGenerator
Namespace: Momentum.Extensions.Messaging.Kafka
Assembly: Momentum.Extensions.Messaging.Kafka.dll
csharp
public interface ITopicNameGeneratorMethods
GetTopicName(Type, EventTopicAttribute)
Generates a fully qualified topic name based on environment and domain.
csharp
string GetTopicName(Type messageType, EventTopicAttribute topicAttribute)Parameters
messageType Type
The integration event type.
topicAttribute EventTopicAttribute
The event topic attribute.
Returns
A topic name in the format: {env}.{domain}.{scope}.{topic}.