Skip to content

Commit

Permalink
Update Producer.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-egov authored Jul 30, 2024
1 parent dfc5aff commit a362074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/project-factory/src/server/kafka/Producer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down

0 comments on commit a362074

Please sign in to comment.