Listener
Description
The Listener pipeline is used to process events received by the trklistener tracking service.
Peculiarities:
-
You can send an event to any pipeline in the pipeline. The ID of the pipe into which the event will fall at the very beginning is specified in the link to which the data is posted.
-
In addition to pipe settings, you can set a string with which trklistener will respond to requests. This can be done by filling in the Response body field:
Tracking service
The configuration of the tracking service can be obtained from the platform administrators. By default it runs on LISTENER_IP and LISTENER_PORT.
The tracking service is configured with the parameters LISTENER_UNIXSOCK_PATH, LISTENER_IP and LISTENER_PORT.
::: note Default settings: |Parameter|Meaning| |ip|127.0.0.1| |port|8069| :::
Data transfer
Data must be submitted via the following link:
http://<listener_host>/fbp/v1/<custom_channel_sid>/<pipe_id>
All GET parameters will be written to $in.form of the event, which will go to the listener pipeline.
The body of the request will be written to $in.body as a byte array. To then convert the bytes into an object, you need to use the Unpack pipe.