zhaohai666 opened a new pull request, #1373:
URL: https://github.com/apache/rocketmq-clients/pull/1373
fix(nodejs): correct retry backoff units, endpoints parsing and status
mappings
- Retry delays are **milliseconds** (the protobuf contract's unit was
misimplemented);
inherited backoff preserves sub-second precision from the server `Duration`
(`seconds * 1000 + nanos / 1e6`).
- `Endpoints` string parsing rewritten: strips an `http(s)://` prefix,
parses bracketed
and bare IPv6, splits the port via `lastIndexOf(':')`.
- `StatusChecker` new mappings: `ILLEGAL_LITE_TOPIC` → `BadRequestException`,
`MESSAGE_BODY_EMPTY` → `PayloadEmptyException`,
`LITE_SUBSCRIPTION_QUOTA_EXCEEDED` →
`LiteSubscriptionQuotaExceededException`.
- Telemetry-session reconnect timer leak: `release()` clears the timer and
guards
reconnection; error/end events dedupe through a single reconnect schedule.
- Adds `tsconfig.test.json` for compiling src + test together.
--
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]