Aias00 opened a new issue, #10895: URL: https://github.com/apache/rocketmq/issues/10895
## Version Reproduced on develop at `e3458616d`. ## Problem `ClientProcessor.validateLiteSubTopic` validates only `subList.iterator().next()`. A Lite consumer group with a configured `liteBindTopic` can include another subscription for a different topic as long as the first set element matches. ## Reproduction 1. Configure a consumer group with `liteBindTopic=topic1`. 2. Build a subscription set whose first element targets `topic1` and whose second element targets `topic2`. 3. Call `validateLiteSubTopic`. 4. Observe that no `GrpcProxyException` is thrown. ## Expected Every subscription in the set must match the configured bound topic; any mismatch must be rejected with `ILLEGAL_TOPIC`. ## Regression coverage `ClientProcessorTest` contains a focused failing test with one matching and one mismatching subscription. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
