Skip to content

Commit

Permalink
fix: logger object
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed Mar 22, 2024
1 parent 00b3aa0 commit cc475bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export class Worker {
const topicCfg = kafkaConfig.topics[topicLabel];
const topic = await events.topic(topicCfg.topic);
const offSetValue = await this.offsetStore.getOffset(topicCfg.topic);
logger.info('subscribing to topic with offset value', topicCfg.topic, offSetValue);
that.logger.info('subscribing to topic with offset value', topicCfg.topic, offSetValue);
if (topicCfg.events) {
for (let eventName of topicCfg.events) {
await topic.on(eventName, eventListener, { startingOffset: offSetValue });
Expand Down

0 comments on commit cc475bf

Please sign in to comment.