qianye1001 opened a new pull request, #10542:
URL: https://github.com/apache/rocketmq/pull/10542

   ### Summary
   
   - Reuse the existing proxy consumer subscription `subVersion` when gRPC 
Settings rebuild the same topic/filter subscription.
   - Keep a newly generated `subVersion` when the gRPC subscription content 
actually changes.
   - Add `ClientActivityTest` coverage for unchanged and changed gRPC 
subscriptions.
   
   ### Motivation
   
   The issue is triggered from the proxy gRPC registration/heartbeat path. 
`ClientActivity` rebuilds `SubscriptionData` from Settings, and 
`FilterAPI.build()` initializes `subVersion` from the current time. For 
unchanged subscriptions, that new timestamp is propagated through proxy 
heartbeat sync and makes downstream registration logs look like a real 
subscription change.
   
   This keeps the fix scoped to the proxy path by stabilizing the generated 
gRPC subscription version before registration/sync.
   
   Closes #10541
   
   ### Tests
   
   - `mvn -pl proxy -am -Dtest=ClientActivityTest -DfailIfNoTests=false test`


-- 
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]

Reply via email to