UnderTreeTech opened a new issue, #1134:
URL: https://github.com/apache/rocketmq-client-go/issues/1134
First I produce 1k msg to broker, then I run the
examples/consumer/pull/pull.go code with minor changes (only start one
goroutine to consume), just like
```go
for i := 0; i < 1; i++ {
go func() {
for {
pull()
}
}()
}
```
There the consume rate is very slow, every pull will block about 25s. But if
modify the suspend param to false at
https://github.com/apache/rocketmq-client-go/blob/f4875c1bbca66be050ec71359a8b447e0b63e743/consumer/pull_consumer.go#L445
the consume rate comes fast.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]