udmi

UDMI / Docs / Specs / Message Walk

Illustrative Message Walk

This document details a high-level overview of the path a message takes as it works its way through the UDMI framework. It is not a detailed how-to, but rather an overview guide of the various bits and pieces. This generally assumes a reasonable working knowledge of the individual components involved, which typically have more detailed documentation elsewhere.

Site Model

The UDMI Site Model provides an abstract model for what the site should look like. Specifically, it holds information used by other tools to do things relating to the device.

Pubber

Pubber is a reference device that can pretend to be any device as listed in the UDMI site model. It’s important for system testing to isolate the setup from anything external. Usually, if Pubber doesn’t work then there’s something wrong with the code or GCP configuration, otherwise it indicates a problem with the real/actual device.

PubSub Topics

PubSub is used as the primary communication mechanism for messages in the GCP project. Note that PubSub uses the term topics in a way that is similar to, but semantically different than, an MQTT topic. Same word, roughly same meaning, different contexts. There are four main PubSub topics used by the UDMI system for various functions:

GKE Workloads

A GKE workload called UDMIS is used to support various server-side operation.

Validator

The UDMI Validator tool monitors a device’s message stream and validates messages that it sees against the UDMI schema. There are a variety of configurations used, depending on the overall intent.

Sequence Validator

The UDMI Sequence Validator tool monitors a sequence of messages from a device’s stream and validates that the composition of sequential messages is compliant with the UDMI Schema.