WebSocket Client
The WebSocket Client target writes data to a WebSocket endpoint. Use the target to send data to a WebSocket resource URL. For information about supported versions, see Supported systems and versions.
The WebSocket Client target opens a connection to the WebSocket endpoint for each batch of data that it writes. The target sends each record to the WebSocket resource URL. When the batch is fully written, the target closes the connection and then opens another connection for the next batch of data.
When you configure the WebSocket Client target, you define the resource URL and headers to use for the requests. You can also configure SSL/TLS properties, including default transport protocols and cipher suites.
Data formats
The WebSocket Client target writes data to WebSocket endpoints based on the data format that you select.
The WebSocket Client target processes data formats as follows:
- Binary
- The stage writes binary data to a single field in the record.
- JSON
- The target writes records as JSON data. You can use one of
the following formats:
- Array - Each file includes a single array. In the array, each element is a JSON representation of each record.
- Multiple objects - Each file includes multiple JSON objects. Each object is a JSON representation of a record.
- SDC Record
- The target writes records in the SDC Record data format.
- Text
- The target writes data from a single text field to the target system. When you configure the stage, you select the field to use.
Configuring a WebSocket Client target
About this task
Configure a WebSocket Client target to write data to a WebSocket endpoint.