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

   ### Summary
   
   Fix receive queue selection to use broker IDs and strengthen consumer 
validation, observability, and offline coverage. Public signatures, legal 
calls, and existing retry behavior remain compatible.
   
   ### Changes
   
   - Select all readable master queues by broker ID and report empty routes 
clearly.
   - Remove unnecessary consumer casts, warn on unknown receive content, and 
refresh receipt handles through an internal helper.
   - Require positive safe-integer `maxRetryAttempts` (construction-time 
`TypeError`) and safe-integer `OffsetOption` number inputs (factory-time 
`RangeError`); retain bigint serialization checks and default three attempts 
with 1000ms backoff. Set `maxRetryAttempts=1` for no retries.
   - Add 75 offline tests covering requests, hooks, subscriptions, round-robin 
queues, retry budgets, settings, filters, and offset boundaries.
   
   ### How Did You Test This Change?
   
   - Node.js 24: lint and TypeScript checks pass; `npm test` and `npm run cov` 
each pass all 319 tests. All six consumer-module files reach 100% function 
coverage.
   - Regression cases fail on the base implementation and pass with this change.
   - Broker integration tests were not run: no endpoint configured and 
localhost:8081 refused connections.
   


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