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
Ниже приводится пример использования выходных данных:
A weather station sends real-time temperature and humidity data to a central server using UDP in JSON format.
Usage notes
При работе с выходными данными нужно учитывать следующее:
- 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
Ниже приведены параметры выходных данных:
| Parameter | Description | Data type |
|---|---|---|
| Host (Обязательный) | 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. | Строка |
| Port (Обязательный) | The server port used to establish a UDP socket connection—for example, 5005. | Integer |
| Output data format (Обязательный) | The format of the output data. The available options are EsriJSON, GeoJSON, Delimited text, and JSON. | Output data format type |