-
Notifications
You must be signed in to change notification settings - Fork 11.9k
[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
Conversation
There was a problem hiding this 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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
add some unit test |
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. 🚀 New features to boost your workflow:
|
… and dlq topics (apache#9480)
… and dlq topics (apache#9480)
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.

How Did You Test This Change?
Built a snapshot of this change and tested creating dlq and retry topics of length greater than 127.