Skip to content

Commit

Permalink
fix: debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasrubims committed Jun 9, 2023
1 parent 04167d7 commit f167cf6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/infra/messaging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ class KafkaMessaging {

if (topicsToCreate.length) {
this.logger.log(
`Creating topics: ${topicsToCreate.map(topic => topic.name).join(", ")}`
`Creating topics: ${topicsToCreate
.map(topic => `${this.origin}.${topic.name}`)
.join(", ")}`
);

await this.kafka.admin().createTopics({
Expand Down

0 comments on commit f167cf6

Please sign in to comment.