You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enhance error handling and metrics in MQTT application
- Update error handling tests to ensure validation errors propagate correctly with payloads.
- Introduce timeout and concurrency features in the router configuration to manage handler execution limits.
- Add metrics tracking for dispatch and publish events, capturing success and error states.
- Implement shared subscription parsing for MQTT 5, allowing for group and topic filter extraction.
- Add publish hook context to allow mutation of publish options before sending.
- Enhance TypeBox and Zod documentation to clarify usage and integration with AsyncAPI.
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,9 @@ Full documentation: **<https://mqttkit.keyp.dev>** ([简体中文](https://mqttk
14
14
-`router().topic()` declares MQTT topic routes with publish / subscribe policies.
15
15
- Topic params (`devices/:uid/events`), payload validation via any [Standard Schema](https://standardschema.dev/) validator, and injected services on `ctx`.
16
16
- MQTT 5 RPC with `app.request()` and `ctx.reply()`.
17
+
- MQTT 5 shared subscriptions (`$share/<group>/<filter>`) for multi-instance fan-out.
18
+
- Per-route `timeout` and `concurrency` guards surface as `onError` phases.
0 commit comments