MCPcopy Create free account
hub / github.com/ShipSecAI/studio / getTopicResolver

Function getTopicResolver

worker/src/common/kafka-topic-resolver.ts:95–100  ·  view source on GitHub ↗
(config?: TopicResolverConfig)

Source from the content-addressed store, hash-verified

93 * Get or create the singleton topic resolver
94 */
95export function getTopicResolver(config?: TopicResolverConfig): KafkaTopicResolver {
96 if (!resolver) {
97 resolver = new KafkaTopicResolver(config);
98 }
99 return resolver;
100}
101
102/**
103 * Reset the singleton (useful for testing)

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected