Connectum API Reference / @connectum/events / SubscriptionPatternRule
Type Alias: SubscriptionPatternRule ​
SubscriptionPatternRule =
"no-empty-segment"|"kafka-topic-name"
Defined in: packages/events/src/subscriptionPatterns.ts:16
What a rule refuses:
"no-empty-segment"-- any pattern with an empty dot-separated segment (the empty string,a..b,.a,a.,.). For brokers whose subject syntax has no empty token (NATS) and for the in-memory adapter, which matches the same way."kafka-topic-name"-- only the names Kafka reserves: the empty string,.and... Every other name with an empty segment (a..b,.a,a.) is a legal Kafka topic.