lizhimins opened a new issue, #11637: URL: https://github.com/apache/rocketmq/issues/11637
### Is your feature request related to a problem? In pop consumption mode, `RebalancePushImpl.getConsumeInitMode` maps `CONSUME_FROM_TIMESTAMP` to `ConsumeInitMode.MAX`, so the timestamp intent is lost on the client side. A new consumer group on an aged queue (`minOffset > 0`) starts from `maxOffset - 1` instead of the requested timestamp. ### Describe the solution you'd like Add `ConsumeInitMode.TIMESTAMP` and an optional `timestamp` field to `PopMessageRequestHeader`. When the group has no committed offset, the broker resolves the initial offset per physical queue via `getOffsetInQueueByTime` with `BoundaryType.LOWER`, which also covers `queueId = -1` pops spanning multiple queues. The new-queue zero-check and committed-offset precedence are preserved, matching the pull path semantics. Old clients are unaffected (the field is omitted when null); a new client talking to an old broker degrades to MAX. ### Additional context Only new-version clients are supported, so the protocol can be improved directly. -- 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]
