PubNub Realtime Connected System

This plug-in uses Pubnub to handle real-time use cases such as the ones listed below. 
Real-time Use Cases:
  • Real-time dashboards and interfaces
    • Case handler working on support cases (cases record) can immediately see the new cases registered without refreshing their screen
    • For any long-running asynchronous process, the user need not to refresh the screen to see the status as the updates can be sent real-time to the user's view
    • See the real-time progress of batch processes
    • See the status of a person, tasks working on different screens using PubNub presence API. The status can be as granular as getting an update when the user starts typing
    • Add the power of collaboration to any Appian interface. Example - two persons collaborating in Google Docs
    • Build Real-time feeds, activities, and notifications for your application
  • Real-time Maps
    • Bring data from any source/ stream publish on a channel and see the real-time maps
    • Build Geofencing, geocoding, geo hashing, directions and other powerful features in your application
  • Live Visualizations
    • Bring streaming data and push it to Charts and Graphs
    • Live auctions, financial stocks, and indexes, or scoreboards, send and publish updates to UIs in an instant
    • Show real-time updates in Appian from Any IoT device

Key Functionality Provided:

This connected system provides easy access to PubNub Java API through the following operations:
  • Add Channel Group - Adds a channel to a channel group
  • Delete Channel Group - Removes the channel group
  • Delete Messages - Deletes the messages from the history of the specific channels
  • Get Device State - Used to get key/value pairs specific to a subscriber UUID
  • Set Device State - Used to set key/value pairs specific to a subscriber UUID
  • Grant Access - Establishes access permissions for PubNub Access Manager (PAM)
  • Here Now - Obtain information about the current state of a channel including a list of unique UUID's currently subscribed to the channel and the total occupancy count of the channel
  • Where Now - Obtain information about the current list of channels subscribed by a UUID
  • Publish Messages - Used to send a message to all subscribers of a channel
  • History Service - Fetches historical messages of a channel
  • List Group Channels - Lists all the channels of the channel group
  • Remove Group Channels - Removes the channels from the channel group

Pre-requisites:

  • Must have a PubNub account with following keys.
    • Subscribe Key: - For Subscribing the channel.
    • Publish Key: - For Publishing the messages to the users of a channel.
    • Secret Key:- To access the PubNub Access Manager (PAM)
  • Use AuthKey when required
  • Read the documentation and the best practices of PubNub before implementing
  • Use this connected system in conjunction with the PubNub Real-time Component Plug-in
Anonymous