Skip to content

[ISSUE #9479] Relax topic length constraint when creating retry and dlq topics #9480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

Allenhuangrui
Copy link

Which Issue(s) This PR Fixes

Fixes #9479

Brief Description

Add two more conditions in the if statement of validateTopic method to additionally check whether the validating topic is dlq or retry topic and if it is then skip the topic length validation.
image

How Did You Test This Change?

Built a snapshot of this change and tested creating dlq and retry topics of length greater than 127.

Copy link
Member

@lizhimins lizhimins left a comment

Choose a reason for hiding this comment

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

What about the limitations of retry and dlq topic?

Copy link
Contributor

@qianye1001 qianye1001 left a comment

Choose a reason for hiding this comment

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

LGTM

@Allenhuangrui Allenhuangrui changed the title Relax topic length constraint when creating retry and dlq topics [ISSUE #9479] Relax topic length constraint when creating retry and dlq topics Jun 19, 2025
@lizhimins
Copy link
Member

add some unit test

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.98%. Comparing base (53a3f69) to head (36cacfe).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9480      +/-   ##
=============================================
- Coverage      48.15%   47.98%   -0.18%     
+ Complexity     12027    11984      -43     
=============================================
  Files           1308     1308              
  Lines          92253    92254       +1     
  Branches       11808    11810       +2     
=============================================
- Hits           44425    44265     -160     
- Misses         42343    42485     +142     
- Partials        5485     5504      +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

[Enhancement] Relax topic length constraint when creating retry and dlq topics
4 participants