GitHub user gogodjzhu edited a discussion: Why the ConsumeMessageOrderlyService#start take 1s initialDelay before lockMQ?
The ConsumeMessageOrderlyService initializes a thread pool to periodically (every 20 seconds by default) attempt locking the MessageQueue. However, adding an initial delay can result in consumption lag. For example, when a consumer instance shutdown, other instances cannot acquire the lock immediately. GitHub link: https://github.com/apache/rocketmq/discussions/9029 ---- This is an automatically sent email for dev@rocketmq.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@rocketmq.apache.org