MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / isKafkaConfigured

Function isKafkaConfigured

packages/queue/src/kafka.ts:81–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 KAFKA_MAX_MESSAGES_PER_PARTITION * KAFKA_BYTES_PER_MESSAGE;
80
81export const isKafkaConfigured = (): boolean => KAFKA_BROKERS.length > 0;
82
83export const shouldUseKafka = (): boolean => isKafkaConfigured();
84

Callers 3

bootWorkersFunction · 0.90
shouldUseKafkaFunction · 0.85
getKafkaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected