Dial-in mode is a configuration mode that enables a collector to initiate a connection to the router and dynamically subscribe to sensor paths for data collection.
-
Because the collector establishes the session, destinations do not need to be created in the router configuration.
-
The protocol used to establish the session, gRPC, provides advanced security capabilities to authenticate and encrypt the session.
-
Only gRPC supports dial-in sessions.
Dial-in mode operation and session behavior
Dial-in mode allows a collector to initiate a connection to the router and subscribe dynamically to one or more sensor paths specified in a subscription. The router accepts connections from the collector, enabling a single channel of communication. Because the collector establishes the session, destinations do not need to be created in the router configuration. The protocol used to establish the session, gRPC, provides advanced security capabilities to authenticate and encrypt the session. If the connection between the router and the collector is lost, the session is cancelled, and the collector must reconnect to the router to restart data streaming. Only gRPC supports dial-in sessions.
To explore dial-in mode and create a dial-in session, refer to Model-driven telemetry sessions.
Dial-in mode offers several operational characteristics:
-
The collector initiates the session, eliminating the need for destination configuration on the router.
-
gRPC protocol ensures secure authentication and encryption for the session.
-
Session cancellation occurs if the connection is lost, requiring the collector to reconnect for data streaming.
Dial-in mode session steps:
-
The collector initiates a connection to the router.
-
The router accepts the connection and enables communication.
-
The collector subscribes to sensor paths for data collection.
Dial-in mode attributes and descriptions:
-
Collector-initiated session: The collector starts the connection.
-
Dynamic subscription: Sensor paths are subscribed to during the session.
-
gRPC protocol: Provides authentication and encryption.
Comparison of dial-in mode and other modes:
Table 2.
Dial-in mode vs. other modes
| Attributes |
Dial-in mode |
Other modes |
| Session initiation |
Collector initiates |
Router initiates |
| Protocol |
gRPC |
Other protocols |
Contrast between dial-in mode and router-initiated mode:
Table 3.
Dial-in vs. router-initiated mode
| Dial-in mode |
Router-initiated mode |
| Collector initiates session |
Router initiates session |
Lookup table for dial-in mode attributes:
Table 4.
Dial-in mode attribute lookup
| Items |
Attribute 1 |
Attribute 2 |
| Dial-in session |
Collector-initiated |
gRPC protocol |
| Router-initiated session |
Router-initiated |
Other protocols |
Note
TIP: Only gRPC supports dial-in sessions, and session security is ensured through authentication and encryption.
Dial-in mode session visual representation:
Dial-in mode example
For example, a collector initiates a gRPC connection to a router, subscribes to sensor paths, and receives streaming telemetry data without configuring destinations on the router.
Dial-in mode counter-example
In router-initiated mode, the router establishes the session and requires destination configuration, which differs from dial-in mode.
Dial-in mode analogy
Dial-in mode is like a guest calling a host to request information, rather than the host reaching out to the guest.