CoAP Client
Constrained Application Protocol (CoAP) is a web transfer protocol designed for machine-to-machine devices. The CoAP Client destination writes data to a CoAP endpoint. Use the destination to send requests to a CoAP resource URL.
The CoAP Client destination generates one request for each record. When you configure the destination, you define the resource URL and method to use for the requests. You configure whether each request is confirmable or non-confirmable. You can also configure a connection timeout for each request.
Data Formats
CoAP Client writes data to CoAP endpoints based on the data format that you select. You can use the following data formats:
- Binary
- The destination writes binary data from a single field in the record.
- JSON
- The destination 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 destination writes records in the SDC Record data format.
- Text
- The destination writes data from a single text field to the destination system. When you configure the stage, you select the field to use. When necessary, merge record data into the field earlier in the pipeline.
Configuring a CoAP Client Destination
Configure a CoAP Client destination to write data to a CoAP endpoint.