main-concepts

No menu items for this category
OpenMetadata Documentation

EventSubscription

This schema defines the EventSubscription entity. An Event Subscription has trigger, filters and Subscription

  • id: Unique identifier that identifies this Event Subscription. Refer to ../type/basic.json#/definitions/uuid.
  • className (string): Java class for the Event Subscription.
  • name: Name that uniquely identifies this Event Subscription. Refer to ../type/basic.json#/definitions/entityName.
  • fullyQualifiedName: FullyQualifiedName that uniquely identifies a Event Subscription. Refer to ../type/basic.json#/definitions/fullyQualifiedEntityName.
  • displayName (string): Display name for this Event Subscription.
  • description: A short description of the Event Subscription, comprehensible to regular users. Refer to ../type/basic.json#/definitions/markdown.
  • owners: Owners of this Event Subscription. Refer to ../type/entityReferenceList.json. Default: None.
  • href: Link to the resource corresponding to this entity. Refer to ../type/basic.json#/definitions/href.
  • version: Metadata version of the Event Subscription. Refer to ../type/entityHistory.json#/definitions/entityVersion.
  • updatedAt: Last update time corresponding to the new version of the Event Subscription in Unix epoch time milliseconds. Refer to ../type/basic.json#/definitions/timestamp.
  • updatedBy (string): User who made the update.
  • changeDescription: Change that led to this version of the Event Subscription. Refer to ../type/entityHistory.json#/definitions/changeDescription.
  • incrementalChangeDescription: Change that lead to this version of the entity. Refer to ../type/entityHistory.json#/definitions/changeDescription.
  • alertType: Type of Alert. Refer to #/definitions/alertType.
  • trigger: Trigger information for Alert. Refer to #/definitions/trigger.
  • filteringRules: Set of rules that the Event Subscription Contains to allow conditional control for alerting. Refer to #/definitions/filteringRules.
  • destinations (array): Destination Config.
    • Items: Refer to #/definitions/destination.
  • enabled (boolean): Is the event Subscription enabled. Default: True.
  • batchSize (integer): Maximum number of events sent in a batch (Default 100). Default: 100.
  • provider: Refer to ../type/basic.json#/definitions/providerType.
  • retries (integer): Number of times to retry callback on failure. (Default 3). Default: 3.
  • pollInterval (integer): Poll Interval in seconds. Default: 60.
  • input: Input for the Filters. Refer to #/definitions/alertFilteringInput.
  • domains: Domains the asset belongs to. When not set, the asset inherits the domain from the parent it belongs to. Refer to ../type/entityReferenceList.json.
  • config: Refer to ../type/basic.json#/definitions/map.
  • argumentsInput (object): Observability Filters for Event Subscription. Cannot contain additional properties.
    • name (string): Name of the filter.
    • effect: Refer to ./eventFilterRule.json#/definitions/effect.
    • prefixCondition: Prefix Condition for the filter. Refer to ../events/eventFilterRule.json#/definitions/prefixCondition.
    • arguments (array): Arguments List.
      • Items (object): Argument for the filter. Cannot contain additional properties.
        • name (string): Name of the Argument.
        • input (array): Value of the Argument.
          • Items (string)
  • alertFilteringInput (object): Observability of the event subscription. Cannot contain additional properties.
    • filters (array): List of filters for the event subscription.
      • Items: Refer to #/definitions/argumentsInput.
    • actions (array): List of filters for the event subscription.
      • Items: Refer to #/definitions/argumentsInput.
  • triggerType (string): Trigger Configuration for Alerts. Must be one of: ['RealTime', 'Scheduled']. Default: RealTime.
  • alertType (string): Type of Alerts supported. Must be one of: ['Notification', 'Observability', 'ActivityFeed', 'GovernanceWorkflowChangeEvent', 'Custom']. Default: Notification.
  • subscriptionCategory (string): Subscription Endpoint Type. Must be one of: ['Users', 'Teams', 'Admins', 'Assignees', 'Owners', 'Mentions', 'Followers', 'External'].
  • subscriptionType (string): Subscription Endpoint Type. Must be one of: ['Webhook', 'Slack', 'MsTeams', 'GChat', 'Email', 'ActivityFeed', 'GovernanceWorkflowChangeEvent'].
  • destination (object): Subscription which has a type and the config. Cannot contain additional properties.
    • id: Unique identifier that identifies this Event Subscription. Refer to ../type/basic.json#/definitions/uuid.
    • category: Refer to #/definitions/subscriptionCategory.
    • type: Refer to #/definitions/subscriptionType.
    • statusDetails
    • timeout (integer): Connection timeout in seconds. (Default 10s). Default: 10.
    • readTimeout (integer): Read timeout in seconds. (Default 12s). Default: 12.
    • enabled (boolean): Is the subscription enabled. Default: True.
    • config
  • status (string): Status is disabled, when eventSubscription was created with enabled set to false and it never started publishing events. Status is active when eventSubscription is normally functioning and 200 OK response was received for callback notification. Status is failed on bad callback URL, connection failures, 1xx, and 3xx response was received for callback notification. Status is awaitingRetry when previous attempt at callback timed out or received 4xx, 5xx response. Status is retryLimitReached after all retries fail. Must be one of: ['disabled', 'failed', 'retryLimitReached', 'awaitingRetry', 'active'].
  • filteringRules (object): Filtering Rules for Event Subscription. Cannot contain additional properties.
    • resources (array): Defines a list of resources that triggers the Event Subscription, Eg All, User, Teams etc.
      • Items (string)
    • rules (array): A set of filter rules associated with the Alert.
      • Items: Refer to ./eventFilterRule.json.
    • actions (array): A set of filter rules associated with the Alert.
      • Items: Refer to ./eventFilterRule.json.
  • trigger (object): Trigger Configuration for Alerts. Cannot contain additional properties.
    • triggerType: Refer to #/definitions/triggerType.
    • scheduleInfo (string): Schedule Info. Must be one of: ['Daily', 'Weekly', 'Monthly', 'Custom']. Default: Weekly.
    • cronExpression (string): Cron Expression in case of Custom scheduled Trigger.

Documentation file automatically generated at 2025-08-12 05:39:47.683420+00:00.