Example configuration

This short use case will guide you through a topic filter configuration.

Before you begin

  • You've already reserved the firmware_version_update namespace.

  • You want only selected devices subscribing to the topic.

  • You want only your admins to be able to publish updates.

  • Your topic path is:

    company/model/firmware/version
    
  1. Click Add ACL.

  2. Add a device identity topic filter, replacing the model with the %c wildcard.

    company/%c/firmware/version
    
  3. Add the * wildcard as a subscriber group.

📘

Do not use the * wildcard in the regular topic filters. It will open your topics to any users.

  1. Click Add ACL.

  2. Add a wilcarded topic filter, replacing the model with the + wildcard. I want to have my admins to be able to publish a new version of the firmware, regardless of the device.

    company/+/firmware/version
    
  3. Add admin1 user group as the Publishers.

  4. Click Save.
    The result is:

    example-configurationexample-configuration


Did this page help you?