From a362074b3c6d76c5469b9cbcbbd5ce026ff47263 Mon Sep 17 00:00:00 2001 From: ashish-egov <137176738+ashish-egov@users.noreply.github.com> Date: Tue, 30 Jul 2024 11:32:41 +0530 Subject: [PATCH] Update Producer.ts --- utilities/project-factory/src/server/kafka/Producer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/project-factory/src/server/kafka/Producer.ts b/utilities/project-factory/src/server/kafka/Producer.ts index e9efc3d2342..541b4dd45c7 100644 --- a/utilities/project-factory/src/server/kafka/Producer.ts +++ b/utilities/project-factory/src/server/kafka/Producer.ts @@ -21,7 +21,7 @@ const checkBrokerAvailability = () => { } else { const brokers = data[1]?.metadata || {}; const brokerCount = Object.keys(brokers).length; - logger.info('Broker count:', brokerCount); + logger.info('Broker count:' + String(brokerCount)); if (brokerCount <= 0) { logger.error('No brokers found. Shutting down the service.');