Skip to content

Commit 5510727

Browse files
authored
fix: rocketmq client add start (#89)
1 parent 7445813 commit 5510727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/invoker/invoker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func Init() {
7171
mqConfig.DialTimeout = config.DialTimeout
7272

7373
EventProducer = mqConfig.Build()
74-
if err != nil {
74+
if err := EventProducer.Start(); err != nil {
7575
panic("init junoevnet producer failed. err=" + err.Error())
7676
}
7777
}

0 commit comments

Comments
 (0)