An event key (also known as topic) is a routing key pattern of an event message which always starts with prefix pipeforce.event
, followed by the concrete event type.
It can be used to send Notifications every time such an event happens or to register a pipeline listener for example and listen for such an event to a trigger a pipeline execution. Here is an example how to add such an event message listener to a pipeline:
Code Block |
---|
|
pipeline:
- message.listen:
key: pipeforce.event.iam.login
- mail.send:
to: admin@company.tld
subject: A user has logged-in. |
...