Pusher Responder setup guide - snowplow-archive/sauna GitHub Wiki

HOME > GUIDE FOR DEVOPS > SETTING UP SAUNA > RESPONDERS > Pusher Responder setup guide

This responder has not yet been released.

See also: Pusher Responder user guide

Contents

Overview

This responder lets you get app data to your web, mobile and IoT devices via the Pusher real-time platform.

Compatibility

This responder will be released in Sauna version TBC.

Pusher setup

  • Login to Pusher
  • Click on "Create new app"
  • Configure your app as appropriate and click "Create my app"
  • Click on the App Keys tab
  • You will need the Credentials provided in the section below

Sauna setup

Avro schema

The Pusher Responder must be configured using a self-describing Avro which validates against this JSON Schema:

iglu:com.snowplowanalytics.sauna.responders/PusherConfig/avro/1-0-0

Where:

  • appId is the Pusher application ID as specified in the Credentials section
  • key is the Pusher application key as specified in the Credentials section
  • secret is the Pusher application secret as specified in the Credentials section
  • cluster is the Pusher cluster which hosts the application as specified in the Credentials section. Can be one of "eu", "mt1", "us2", "ap1", "ap2"

Example

We can enable this responder by placing following Avro configurations in the configuration directory (filename must have extension .avro or .json):

{
    "schema": "iglu:com.snowplowanalytics.sauna.responders/PusherConfig/avro/1-0-0",

    "data": {
        "enabled": true,
        "id": "com.acme.MyPusherResponder",
        "parameters": {
            "triggerEventEnabled": true,
            "appId": "512106",
            "key": "1dd3011e7bad96b8692e",
            "secret": "00a481eb2358fcb9566d",
            "cluster": "eu"
        }
    }
}
⚠️ **GitHub.com Fallback** ⚠️