Synadia Connect
Pusher
| NAME | RUNTIME | TYPE | VERSION |
|---|---|---|---|
| pusher | wombat | sink | latest |
Output for publishing messages to Pusher API (https://pusher.com)
Configuration
| Name | Type | Optional | Secret | Description |
|---|---|---|---|---|
| batching | batching | no | no | maximum batch size is 10 (limit of the pusher library) |
| channel | string | no | no | Pusher channel to publish to. Interpolation functions can also be used |
| event | string | no | no | Event to publish to |
| appId | string | no | no | Pusher app id |
| key | string | no | no | Pusher key |
| secret | string | no | no | Pusher secret |
| cluster | string | no | no | Pusher cluster |
| secure | bool | yes | no | Enable SSL encryption. The value defaults to true. |
| max_in_flight | int | yes | no | The maximum number of parallel message batches to have in flight at any given time. The value defaults to 1. |
Batching
| Name | Type | Optional | Secret | Description |
|---|---|---|---|---|
| count | int | yes | no | A number of messages at which the batch should be flushed. If 0 disables count based batching. The value defaults to 0. |
| byte_size | int | yes | no | An amount of bytes at which the batch should be flushed. If 0 disables size based batching. The value defaults to 0. |
| period | string | yes | no | A period in which an incomplete batch should be flushed regardless of its size. The value defaults to "". |
| check | string | yes | no | A Bloblang query that should return a boolean value indicating whether a message should end a batch. The value defaults to "". |