Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Regular Expressions are a broad topic and cannot be covered in full here. This guide will demonstrate the use of HiveMQ’s pattern matching capabilities by creating a Trace Recording, matching all clients with a clientId beginning with publisher0, followed by a single character. Further the special case of creating a recording for topic tree patterns with use of the + character will be shown.

Info

The key to utilising RegEx in Trace Recording filters is knowing that client identifiers and topics are seen as regular strings by the filters, with no MQTT specific treatment of tokens

Prerequisites

In order to verify, that our messages are being delivered as we expect we will subscribe to a test topic pattern.

...