Skip to main content

UDP (Client)

The UDP (Client) output sends data from event records to a UDP server using a UDP socket connection. Data can be formatted as delimited text or JSON. UDP datagrams (messages) are sent via unicast.

Example

The following is an example use case for the output:

A weather station sends real-time temperature and humidity data to a central server using UDP in JSON format.

Usage notes

Keep the following in mind when working with the output:

  • ArcGIS Velocity supports multiple output data formats when using the UDP (Client) output. The output formats include JSON, GeoJSON, EsriJSON, and delimited text.

  • It is recommended that data from different feeds use their own output connectors and ports.

  • When output is formatted as delimited text, if you want a header row, you must select the Write header row option.

  • A field delimiter must be specified when formatting data as delimited text. Common delimiters are comma, semicolon, and pipe characters.

Parameters

The following are the parameters for the output:

Parameter

Description

Data type

Host

(Required)

The host address that UDP datagrams (messages) publishes to using a UDP socket. The default is localhost, but any accessible hostname or IP address can be specified.

String

Port

(Required)

The server port used to establish a UDP socket connection—for example, 5005.

Integer

Output data format

(Required)

The format of the output data. The available options are EsriJSON, GeoJSON, Delimited text, and JSON.

Output data format type