f1amingo opened a new pull request, #1504:
URL: https://github.com/apache/rocketmq-clients/pull/1504

   ### Summary
   
   Stabilize lite subscriptions and share lifecycle and validation logic 
between lite push and simple consumers while preserving existing public APIs.
   
   ### Changes
   
   - Make subscription synchronization startup idempotent.
   - Use plain Error for not-running consumers and 
LiteSubscriptionQuotaExceededException with the protocol code for local quota 
failures.
   - Share lifecycle ordering and argument validation through an internal 
helper.
   - Add 43 offline tests for subscriptions, consumer lifecycle, request 
construction, and consumption settlement.
   
   ### Compatibility
   
   Existing exports, constructors, subscription overloads, and parent classes 
are preserved. The typed settings handler retains its existing any overload.
   
   Callers catching ClientException for not-running errors must handle Error 
instead. Local quota failures remain ClientException subclasses, but callers 
checking code === 429 must use Code.LITE_SUBSCRIPTION_QUOTA_EXCEEDED.
   
   ### How Did You Test This Change?
   
   287 offline tests passed on Node.js 18 and 24. ESLint and production 
TypeScript checks passed. Four regression tests fail before the fixes and pass 
afterward.
   


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