Recording Messages

Use the Message Recording Connector to record messages sent to a Digital Twin model for a specified period.

Prerequisites

Procedure

  1. Configure your Digital Twins project to enable message recording for your model.

Note

You should only enable recording on models that receive messages from external data sources (such as IoT devices or connectors like the Azure Digital Twins connector). If you have multiple real-time models, the messages that get sent from one real-time model to another should not be recorded.

  • Java: Add enableMessageRecording to the model definition file and set it to true.

  • .NET: Add EnableMessageRecording as a JSON property to the appsettings.json file and set it to true.

  • Rule-based Models: Set the EnableMessageRecording property in the model definition file. This can be done directly in the ScaleOut Model Development Tool.

  1. In the ScaleOut Digital Twins™ UI, configure the Message Recording connector.

  • Once deployed, the recording will start recording and will continue to record for the period specified by the connector’s Recording Duration (sec) parameter.

  • A recording can be paused by disabling the Message Recording connector. To resume a paused message recording session, should re-enable the connector.

Next Steps

See also