Event Channels
Event channels receive events from event sources.
EG supports the following event channels:
- Cloud service: A channel automatically created by EG to receive events from cloud services. This channel cannot be modified. Events generated by cloud service event sources can only be published to this channel.
- Custom: Channels you create to receive events from custom sources.
Creating an Event Channel
- Log in to the EG console.
- In the navigation pane, choose Event Channels.
- Click Create Event Channel.
- Enter a channel name and description, and click OK.
View this channel in the Custom area.
- Only the event channel description can be modified. To modify it, click Edit in the row that contains the desired event channel.
- To view details about a custom event channel, click its name in the custom event channel list.
Deleting an Event Channel
- Log in to the EG console.
- In the navigation pane, choose Event Channels.
- Click Delete in the row that contains the desired event channel.
If the event channel to delete is associated with sources and subscriptions, disassociate it first.
- Click Yes.
Publishing Events
Publish events to a channel.
By publishing events, check whether an event source, channel, and target have been connected, whether the configured rules are valid, and whether events can be sent to the target.
Prerequisites
You have created a subscription with a custom event channel, custom application event source, and custom target.
- Log in to the EG console.
- In the navigation pane, choose Event Channels.
- Click Publish Event.
- Configure the parameters described in the following table.
Table 1 Parameters for publishing events Parameter
Description
Channel
Select a channel.
Source
Enter a custom application event source.
Event Type
Enter an event type.
Event Details
Enter event content in JSON format.
Timestamp
Select a timestamp.
- Click Preview to preview the event.
- Click Publish. If the event is successfully published, a result similar to that in Figure 1 is displayed.
- To publish more events, click Add Event.
- You can publish one or more events at a time.
- To clone an event, click
.
- To delete an event, click
.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.