Parser for topic tags - defines MQTT topic path with placeholders
This parser handles the topic tag that defines MQTT topic paths. It extracts:
Raw content from the topic tag
Parsed topic information or null if parsing fails
// Input: "v1/{tenant}/devices/{deviceId}/telemetry"// Output: { topic: "v1/{tenant}/devices/{deviceId}/telemetry" } Copy
// Input: "v1/{tenant}/devices/{deviceId}/telemetry"// Output: { topic: "v1/{tenant}/devices/{deviceId}/telemetry" }
// Input: "sensors/temperature"// Output: { topic: "sensors/temperature" } Copy
// Input: "sensors/temperature"// Output: { topic: "sensors/temperature" }
// Input: "devices/+/status"// Output: { topic: "devices/+/status" } Copy
// Input: "devices/+/status"// Output: { topic: "devices/+/status" }
4.1.0
Parser for topic tags - defines MQTT topic path with placeholders
This parser handles the topic tag that defines MQTT topic paths. It extracts: