Skip to content

fix(group): normalize reset topic before apply - #2879

Open
btlqql wants to merge 1 commit into
apache:rocketmq-studiofrom
btlqql:codex/btl-reset-topic-normalization
Open

fix(group): normalize reset topic before apply#2879
btlqql wants to merge 1 commit into
apache:rocketmq-studiofrom
btlqql:codex/btl-reset-topic-normalization

Conversation

@btlqql

@btlqql btlqql commented Sep 1, 2026

Copy link
Copy Markdown

Summary

  • validate and trim the reset Topic at the MetadataService boundary
  • pass the same normalized Topic to the provider and audit record
  • reject blank Topics before provider resolution

Tests

  • mvn -Dmaven.repo.local=D:\Dev\m2-cache -Dtest=MetadataServiceTest test (36 passed, Checkstyle passed)
  • git diff --check

Closes #2877

@RockteMQ-AI RockteMQ-AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Normalizes the reset topic input before applying consumer offset reset, preventing issues with whitespace or inconsistent formatting. Clean fix with test coverage.

LGTM


Automated review by "github-manager-bot"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants