Skip to content

[ISSUE #2470] fix(dlq): normalize action identifiers - #2471

Open
yuluo-yx wants to merge 1 commit into
apache:rocketmq-studiofrom
yuluo-yx:0820-yuluo-yx/fix-12
Open

[ISSUE #2470] fix(dlq): normalize action identifiers#2471
yuluo-yx wants to merge 1 commit into
apache:rocketmq-studiofrom
yuluo-yx:0820-yuluo-yx/fix-12

Conversation

@yuluo-yx

Copy link
Copy Markdown
Member

Summary

  • normalize DLQ group names at the service boundary
  • strip explicit resend targets and treat blank targets as absent
  • pass normalized values consistently to resend and export providers

Verification

  • DLQServiceTest: 17 tests passed
  • Checkstyle passed with 0 violations
  • scope check: 48 changed lines

Fixes #2470

Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>

@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 DLQ service inputs (groupName, targetTopic) by trimming whitespace and separating validation concerns into focused methods.

Strengths:

  • Clear separation of validation logic (requireGroupName, validateTimeRange, normalizeOptional)
  • Consistent input sanitization across resend and export operations
  • Test coverage for normalized inputs

LGTM — improves input handling robustness.


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