Class BaudotSubscriptionManagementConnector

All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension, CatalogTargetFactory, IntegrationConnector, OpenMetadataEventListener

public class BaudotSubscriptionManagementConnector extends DynamicIntegrationConnectorBase implements OpenMetadataEventListener
BaudotSubscriptionManagementConnector is the Baudot Open Metadata Digital Product Subscription Manager: a dynamic integration connector that notifies the subscribers of digital products. Each notification type it is to look after is given to it as a catalog target - Jacquard does this for every notification type it creates for a product - and a BaudotNotificationTypeProcessor is created for each.

There are two distinct parts to the processing, and they are driven differently.
  • Welcome, one-time and periodic notifications are sent when the integration daemon refreshes this connector, which happens on the configured interval and whenever a refresh is requested through the integration daemon's REST API. The daemon's schedule is therefore the only clock here; this connector keeps no timers of its own.
  • Notifications about changes to a notification type's monitored resources are sent as the change events arrive on the metadata access server's out topic. The refresh keeps a cache of which notification types monitor which resources; the event listener consults it.
This connector was previously a watchdog governance action service that slept between refreshes on a schedule of its own. Moving it to the integration daemon puts the refresh interval in configuration, and lets an operator - or a test - bring a refresh forward on demand.