You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Palaiologos1453 (via GitHub)" <gi...@apache.org> on 2026/09/06 11:12:04 UTC
[PR] [ISSUE #10559] Add LiteTopic pattern matcher [rocketmq]
Palaiologos1453 opened a new pull request, #11054:
URL: https://github.com/apache/rocketmq/pull/11054
### Which Issue(s) This PR Fixes
- Related to #10559
### Brief Description
This draft adds the protocol-independent LiteTopic pattern matching core proposed by #10559. It supports exact segments, `*` for one segment, and terminal `**` for one or more segments using `__` as the separator. Invalid patterns such as non-terminal `**`, empty segments, and embedded wildcards are rejected.
The matcher is intentionally isolated in `common`; existing LiteTopic subscription and dispatch behavior is unchanged. This lets the community review the matching semantics before broker-side subscription expansion is added.
### How Did You Test This Change?
- `mvn -pl common -Dtest=LitePatternMatcherTest -DfailIfNoTests=false test`
- `mvn -pl common -DskipTests -Dcheckstyle.skip=false validate`
Both completed successfully; 4 focused tests passed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ISSUE #10559] Add LiteTopic pattern matcher [rocketmq]
Posted by "Palaiologos1453 (via GitHub)" <gi...@apache.org>.
Palaiologos1453 commented on PR #11054:
URL: https://github.com/apache/rocketmq/pull/11054#issuecomment-5937234590
Rebased this PR onto current develop at 78b96bc5; head is now 7a97cc. The pattern matcher diff is unchanged. common test LitePatternMatcherTest passes after the rebase. Marking the PR ready for review so the design can be evaluated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org