Difference between revisions of "Mqtt"
From AMTech WikiDocs
Line 3: | Line 3: | ||
* User-defined topic in the form of tenant/obsType/customPath | * User-defined topic in the form of tenant/obsType/customPath | ||
* Tenant and observation type explicitly required in all topic | * Tenant and observation type explicitly required in all topic | ||
− | * Topics created as activityCreator are only for configuration purposes | + | * Topics created as activityCreator are only for configuration purposes and are saved in DB |
** They are used in reasoners configuration inside activity | ** They are used in reasoners configuration inside activity | ||
** They do not include tenant in their name (creator topics in the form of /amtech/things/eventsources/<topic>/<levels>) | ** They do not include tenant in their name (creator topics in the form of /amtech/things/eventsources/<topic>/<levels>) | ||
+ | * Topics created as follower or as part of the execution of an activity are not persistd in DB. They are mqtt topics to hold observations |
Revision as of 10:20, 3 July 2020
Topic Structure
- System topic in the form of prefix/tenant
- User-defined topic in the form of tenant/obsType/customPath
- Tenant and observation type explicitly required in all topic
- Topics created as activityCreator are only for configuration purposes and are saved in DB
- They are used in reasoners configuration inside activity
- They do not include tenant in their name (creator topics in the form of /amtech/things/eventsources/<topic>/<levels>)
- Topics created as follower or as part of the execution of an activity are not persistd in DB. They are mqtt topics to hold observations