Skip to content

Commit

Permalink
update queue consumer args
Browse files Browse the repository at this point in the history
  • Loading branch information
admin authored and kesonan committed Jun 15, 2023
1 parent 56979d5 commit e558d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/queue/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func main() {
serviceGroup := service.NewServiceGroup()
defer serviceGroup.Stop()

for _, mq := range mqs.Consumers(ctx, svcCtx) {
for _, mq := range mqs.Consumers(c,ctx, svcCtx) {
serviceGroup.Add(mq)
}

Expand Down

0 comments on commit e558d4d

Please sign in to comment.