UNPKG

@message-queue-toolkit/kafka

Version:
12 lines 301 B
export class KafkaHandlerRoutingBuilder { configs = {}; addConfig(topic, config) { this.configs[topic] ??= []; this.configs[topic].push(config); return this; } build() { return this.configs; } } //# sourceMappingURL=KafkaHandlerRoutingBuilder.js.map