The GitHub Actions job "Build and Run Tests by Bazel" on rocketmq.git/develop 
has succeeded.
Run started by GitHub user RongtongJin (triggered by RongtongJin).

Head commit for run:
e1eb99c85296faba93ac43dd8edc8929f34fa126 / Quan <[email protected]>
[ISSUE #11203] Fix incorrect consumption mode reported for wildcard Lite groups 
(#11204)

Wildcard Lite consumer groups consume with clustering semantics, but the
registration path reported them as LITE_SELECTIVE, so the admin/console view
showed an incorrect consumption mode.

Instead of adding a new MessageModel value, derive the Lite identity from the
client type carried on ProxyContext and normalize the reported model:

- ClientActivity#registerConsumer writes the real client type into the context
  via ctx.setClientType, so downstream no longer infers Lite identity from the
  display-only LITE_SELECTIVE value.
- ClientProcessor replaces validateLiteMode with validateLiteConsumer, which
  reads ctx.isLiteConsumer() plus the real (remapped) SubscriptionGroupConfig to
  enforce that Lite clients only register to Lite groups and vice versa, and
  normalizes a wildcard Lite group's model to CLUSTERING before registration.

The overridden method signatures kept by the commercial subclass
(registerConsumer, validateLiteSubTopic) are unchanged.

Report URL: https://github.com/apache/rocketmq/actions/runs/38198515236

With regards,
GitHub Actions via GitBox

Reply via email to