You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "btlqql (via GitHub)" <gi...@apache.org> on 2026/09/01 01:30:55 UTC

[I] Offset reset apply does not normalize the previewed topic [rocketmq-dashboard]

btlqql opened a new issue, #2877:
URL: https://github.com/apache/rocketmq-dashboard/issues/2877

   The consumer offset reset preview normalizes the group and topic names before calling the provider, but the apply path only normalizes the group name. A request whose topic contains leading or trailing whitespace can therefore preview successfully and then send a different, untrimmed topic to the provider when the reset is applied. The audit entry also records the unnormalized value.
   
   The apply path should validate and normalize the topic with the same boundary helper used by preview, then use that value for both the provider call and audit detail.


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Offset reset apply does not normalize the previewed topic [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #2877: Offset reset apply does not normalize the previewed topic
URL: https://github.com/apache/rocketmq-dashboard/issues/2877


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Offset reset apply does not normalize the previewed topic [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2877:
URL: https://github.com/apache/rocketmq-dashboard/issues/2877#issuecomment-5487719498

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue has been verified against the codebase. The `resetOffset` method in `ConsumerServiceImpl` uses `resetOffsetRequest.getTopic()` directly without normalization, while the preview path normalizes the topic name.
   
   **Root Cause:** Inconsistent input normalization between preview and apply paths. The apply path does not trim/validate the topic name before passing it to the provider.
   
   **Impact:** Medium - Requests with whitespace in topic names can preview successfully but apply to a different (untrimmed) topic. The audit entry also records the unnormalized value.
   
   **Severity:** Medium
   
   This is a valid bug. The apply path should use the same normalization logic as the preview path for consistency.
   
   ---
   *Automated evaluation by github-manager-bot*
   


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Offset reset apply does not normalize the previewed topic [rocketmq-dashboard]

Posted by "btlqql (via GitHub)" <gi...@apache.org>.
btlqql commented on issue #2877:
URL: https://github.com/apache/rocketmq-dashboard/issues/2877#issuecomment-5487285889

   I will work on this.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Offset reset apply does not normalize the previewed topic [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #2877:
URL: https://github.com/apache/rocketmq-dashboard/issues/2877#issuecomment-5507416426

   Resolved by #2879 (merged into rocketmq-studio as 6fd14306).


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org