-
Notifications
You must be signed in to change notification settings - Fork 182
Conversation
@@ -104,7 +104,9 @@ func (k *Kafka) setupTopic(topicName string) error { | |||
|
|||
if err := k.CreateTopic(topicName); err != nil { | |||
logger.Error("creating a topic is failed", "topicName", topicName, "err", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this log needs to be placed before return err
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The first merged PR from @zacscoding 🎊 🎊 !! |
All reactions
-
🎉 2 reactions -
🚀 2 reactions
Sorry, something went wrong.
ehnuje
KimKyungup
jeongkyun-oh
aidan-kwon
Successfully merging this pull request may close these issues.
Proposed changes
sarama.ErrTopicAlreadyExists
when creating a new kafka topic in chaindatafetcherTypes of changes
Please put an x in the boxes related to your change.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
$ make test
)Related issues
Further comments
When configured docker compose which contains EN services with chaindatafetcher, some containers failed to start
because topic already exists i.e. concurrency problem :(