This document will help you quickly understand the core concepts of EventBridge and get started with it.
Tencent Cloud EventBridge (EventBridge) is a secure, stable, and efficient serverless event management platform. EventBridge can receive real-time events and relevant data streams from your applications, SaaS services, and Tencent Cloud services and route them to other Tencent Cloud service targets such as SCF or TDMQ. In addition, it supports processing and filtering custom events. You can set event rules and customize event match conditions and filter logic. When event data matching the event pattern defined in a rule is received, EventBridge will send the event to one or multiple targets defined in the rule.
Before using EventBridge, you need to understand the following concepts:
An event is a data record of a status change. In EventBridge, events are divided into two types:
The formats of events delivered to EventBridge should comply with CloudEvents - Version 1.0. The following is a typical event structure. For more information, see Event Structure.
CloudEvents is a standard specification for defining the format of event data. For more information, see CloudEvents - Version 1.0.
An event source publishes produced events to Tencent Cloud EventBridge. EventBridge currently supports three types of event sources:
Event buses provide core capabilities of EventBridge, including event collection and storage. An event bus can be bound with several event rules and connectors. Event buses are divided into two types:
Each event bus has several event rules. As the core capability of EventBridge, event rules implement capabilities such as event triggering, filtering, and extraction. Event rules include:
You can specify several event targets for each event rule. When an event hits an event rule, the event will be pushed to the specified event target. For more information, see Event Rule.
Event targets are event egresses. Event targets currently supported by EventBridge include:
Message push services: For Tencent Cloud service events collected by the default Tencent Cloud service event bus, EventBridge allows you to configure message push services to push them to user terminals in real time. Currently, only the rules in the Tencent Cloud service event bus are supported.
CLS: As an event delivery pipeline on the cloud, EventBridge only filters, routes, and distributes events. If you need to log or store events, you can configure CLS as the delivery target.
SCF: You can deliver collected events to specified delivery targets for processing and consumption. Currently, EventBridge supports SCF as a delivery target and provides multiple preset templates to help you deliver events. For more information, see SCF Target Delivery.
The process of delivering the monitoring and auditing events generated by Tencent Cloud services is as follows:
The process of delivering custom events via an event connector is as follows:
For more concepts in EventBridge, see Basic Concepts.
EventBridge is currently in beta test, during which you can use it free of charge.