Open dyrnq opened 1 month ago
RocketMQ uses the TimerWheel class to encapsulate the time wheel, which actually corresponds to a fixed-size file on the disk. The default file path is ${storePathRootDir}/timerwheel and the default size is about 37 MB.
RocketMQ 5.0 introduced the timing wheel algorithm to support delay messages at any time.