chennaji9 opened a new pull request, #11299:
URL: https://github.com/apache/rocketmq/pull/11299

   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   Fixes #11292
   
   ### Brief Description
   
   The consumption-backlog snippet in `docs/en/Operations_Consumer.md` read the 
max offset via `Message.PROPERTY_MAX_OFFSET`, but `Message` has no such 
constant — it is defined in `org.apache.rocketmq.common.message.MessageConst` 
(MessageConst.java:33). The snippet now uses the fully-qualified 
`org.apache.rocketmq.common.message.MessageConst.PROPERTY_MAX_OFFSET`, so it 
compiles as printed.
   
   ### How Did You Test This Change?
   
   - `grep` on `common/src/main`: `PROPERTY_MAX_OFFSET` is declared only in 
`MessageConst`, not in `Message`.
   - Single-line diff; the surrounding fragment (method-level sample) is 
untouched.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to