WebSocket

The WebSocket feed type consumes messages from an externally accessible WebSocket server. The WebSocket protocol enables two-way low-latency communication between a client and server. It accomplishes this by establishing persistent socket connections between a server and client where the server sends data to connected clients. In this case, ArcGIS Analytics for IoT acts as the WebSocket client.

Example

  • Updated sensor values are broadcast from a WebSocket server.

Usage notes

  • The WebSocket server must be externally accessible on the Internet.

After configuring feed connection properties, see Configure input data to learn how to define the schema and the key properties.

Parameters

ParameterExplanationData Type

URL

The WebSocket URL from which to connect and receive data.

String

Considerations and limitations

  • The WebSocket server must be externally accessible on the Internet.