Skip to content

Conversation

@1782935682
Copy link
Contributor

feat(proxy): add switch to disable automatic namespace stripping

When a topic is named in the format Namespace%Topic (e.g., 111%222), the Proxy previously truncated it to just 222. This caused message send/receive errors and ACL authentication failures due to resource name mismatches.

This commit introduces a configuration option to disable this automatic namespace parsing, allowing topics to retain their full name structure.

@codecov-commenter
Copy link

codecov-commenter commented Nov 28, 2025

Codecov Report

❌ Patch coverage is 27.27273% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.27%. Comparing base (63d20eb) to head (45fabe3).

Files with missing lines Patch % Lines
...e/rocketmq/proxy/grpc/v2/common/GrpcConverter.java 22.22% 12 Missing and 2 partials ⚠️
.../org/apache/rocketmq/proxy/config/ProxyConfig.java 50.00% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9878      +/-   ##
=============================================
- Coverage      48.39%   48.27%   -0.12%     
+ Complexity     12283    12257      -26     
=============================================
  Files           1314     1314              
  Lines          93903    93921      +18     
  Branches       12046    12047       +1     
=============================================
- Hits           45443    45345      -98     
- Misses         42852    42947      +95     
- Partials        5608     5629      +21     

☔ 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.

@1782935682 1782935682 changed the title Support configurable namespace parsing add config to disable namespace stripping to support topics containing '%' Dec 1, 2025
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