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 Velocity acts as the WebSocket client.

Example

Below is an example use of the WebSocket feed:

  • Updated sensor values are broadcast from a WebSocket server.

Usage notes

Keep the following in mind when working with the WebSocket feed:

  • The WebSocket server must be externally accessible on the internet.
  • After configuring feed connection parameters, see Configure input data to learn how to define the schema and the key parameters.

Parameters

ParameterExplanationData Type

URL

The WebSocket URL from which to connect and receive data.

String

Considerations and limitations

Below is a consideration and limitation to keep in mind when using the WebSocket feed:

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