rocketmq-client-go icon indicating copy to clipboard operation
rocketmq-client-go copied to clipboard

consumer shutdown will result in unspent mark consumption success

Open zc24 opened this issue 1 year ago • 0 comments

if consumer all return ConsumeRetryLater, when consumer run consumer.shutdown. View message trace The message was successfully consumed

err = cs.Subscribe("topic", selector, func(ctx context.Context, ext ...*primitive.MessageExt) (consumer.ConsumeResult, error) { for i := range ext { fmt.Printf("%+v\n", ext[i]) } return consumer.ConsumeRetryLater, nil }) if err != nil { fmt.Println(err) }

zc24 avatar Dec 19 '23 10:12 zc24