M
M
MOSIP Docs 1.2.0
Search…
WebSub

Overview

WebSub provides a common mechanism for communication between publishers of any kind of Web content and their subscribers, based on HTTP web hooks. Subscription requests are relayed through hubs, which validate and verify the request. Hubs then distribute new and updated content to subscribers when it becomes available. WebSub was previously known as PubSubHubbub. For more information, read W3C WebSub.

WebSub in MOSIP

In MOSIP, WebSub is used to share data with services and partners. Kafka message broker has been used to implement the WebSub APIs. Message brokers are a natural fit for the implementation of WebSub hubs as they serve a similar purpose.
The relationship of WebSub with other services is explained here. NOTE: The numbers do not signify sequence of operations or control flow.
  1. 1.
    Topic is registered and published or subscribed by MOSIP Services.
  2. 2.
    Content delivery and Intent Verification is done by WebSub to Mosip Services.
  3. 3.
    Content delivery and Intent Verification is done by WebSub to Partners.
  4. 4.
    Topic is registered and published or subscribed by the Partners.
  5. 5.
    Data and metadata needed for delivery, delivery reports and other functionalities are stored in Kafka.
Refer WebSub repo for further details.

Developer Guide

To know more about the developer setup, read WebSub Developers Guide.
Export as PDF
Copy link
Edit on GitHub
On this page
Overview
WebSub in MOSIP
Developer Guide