What is UbSub?

UbSub is a platform to provide the publish-subscribe architecture. You may have a one or more publishers posting data (JSON) to a topic. The topic then is able to forward the data in various different forms to subscribers.

PubSub is a way to distribute events (simple payloads) that are emitted by one system, optionally mutated with javascript, and then sent to many other systems, without those systems knowing about each other. UbSub.io acts as a central router for those events, meaning neither system has know about each other, which creates an easy way to modify, update, and debug events.

For example, one application, such as IFTTT or github, might publish an event notifying us that something happened. Once we receive that event, we will forward it to anyone who is listening for it, such as a home-automation device, an email, or build system.

From Wikipedia:

In software architecture, publish–subscribe (PubSub) is a messaging pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers, but instead categorize published messages into classes without knowledge of which subscribers, if any, there may be. Similarly, subscribers express interest in one or more classes and only receive messages that are of interest, without knowledge of which publishers, if any, there are.

I like to think of UbSub as IFTTT for developers.

Read More: Wikipedia article on PubSub

See: Supported Subscriber Protocols

Features

Triggering a topic

Getting Started

  1. Head over to the homepage and create an account. A userless account can be created for testing, but remember that anyone can access it.
  2. Create a new topic. Give it a name that would be useful for you to know what it does.
  3. Create a subscription. You can create a test hook using a site such as webhook.site.
  4. Submit a test event in the topic UI!
  5. Check out various integrations on the left to begin using UbSub.

Topics

Topics can be triggered via various protocols. They are the root of PubSub. Once a topic is triggered, it will send a notification to all of its subscribers via their protocols.

For instance, you can trigger a topic when a user submits a form on their site. Upon receiving the payload, the topic will send it to all subscribers such as to send an email, and call another http endpoint to submit the form.